home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / space / software / unix / xv-2-21.tar < prev    next >
Tape Archive  |  1993-06-13  |  3.4 MB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Tape Archive (archive/tar).

You can browse this item here: xv-2-21.tar

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file tar archive default
99% file tar archive (V7), file xv-2.21/, mode 755 , uid 2153 , gid 12 , size 0 , seconds 5177630665 default
98% file data default
100% lsar Tar default
100% disktype Pre-POSIX tar archive default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 78 76 2d 32 2e 32 31 2f | 00 00 00 00 00 00 00 00 |xv-2.21/|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 32 31 |.... 7|55 . 21|
|00000070| 35 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |53 . |12 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 35 31 37 37 36 33 30 | 0 | 5177630|
|00000090| 36 36 35 20 20 20 35 30 | 37 32 00 20 00 00 00 00 |665 50|72. ....|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 78 76 2d 32 2e 32 31 2f | 4d 61 6b 65 66 69 6c 65 |xv-2.21/|Makefile|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 32 31 |.... 6|44 . 21|
|00000270| 35 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |53 . |12 . |
|00000280| 20 20 32 30 30 35 36 20 | 20 35 31 37 37 35 37 31 | 20056 | 5177571|
|00000290| 30 35 33 20 20 20 36 36 | 33 35 00 20 00 00 00 00 |053 66|35. ....|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 23 20 4d 61 6b 65 66 69 | 6c 65 20 66 6f 72 20 78 |# Makefi|le for x|
|00000410| 76 0a 0a 0a 23 20 79 6f | 75 72 20 43 20 63 6f 6d |v...# yo|ur C com|
|00000420| 70 69 6c 65 72 20 28 61 | 6e 64 20 6f 70 74 69 6f |piler (a|nd optio|
|00000430| 6e 73 29 20 6f 66 20 63 | 68 6f 69 63 65 0a 23 0a |ns) of c|hoice.#.|
|00000440| 23 20 69 66 20 63 6f 6d | 70 69 6c 69 6e 67 20 6f |# if com|piling o|
|00000450| 6e 20 61 20 4d 69 70 73 | 20 6d 61 63 68 69 6e 65 |n a Mips| machine|
|00000460| 2c 20 74 72 79 20 74 68 | 69 73 3a 20 0a 23 20 20 |, try th|is: .# |
|00000470| 20 20 43 43 4f 50 54 53 | 20 3d 20 2d 4f 6c 69 6d | CCOPTS| = -Olim|
|00000480| 69 74 20 36 30 30 20 2d | 73 79 73 74 79 70 65 20 |it 600 -|systype |
|00000490| 62 73 64 34 33 0a 0a 23 | 20 69 66 20 79 6f 75 20 |bsd43..#| if you |
|000004a0| 77 61 6e 74 20 74 6f 20 | 75 73 65 20 67 63 63 2c |want to |use gcc,|
|000004b0| 20 75 73 65 20 74 68 69 | 73 20 6c 69 6e 65 2c 20 | use thi|s line, |
|000004c0| 6f 72 20 73 6f 6d 65 74 | 68 69 6e 67 20 6c 69 6b |or somet|hing lik|
|000004d0| 65 20 69 74 2e 0a 23 20 | 43 43 20 3d 20 67 63 63 |e it..# |CC = gcc|
|000004e0| 20 2d 67 20 2d 74 72 61 | 64 69 74 69 6f 6e 61 6c | -g -tra|ditional|
|000004f0| 0a 43 43 20 3d 20 63 63 | 0a 0a 43 43 4f 50 54 53 |.CC = cc|..CCOPTS|
|00000500| 20 3d 20 2d 4f 0a 0a 23 | 20 69 66 20 79 6f 75 27 | = -O..#| if you'|
|00000510| 72 65 20 75 73 69 6e 67 | 20 61 20 53 75 6e 20 72 |re using| a Sun r|
|00000520| 75 6e 6e 69 6e 67 20 4f | 70 65 6e 57 69 6e 64 6f |unning O|penWindo|
|00000530| 77 73 2c 20 79 6f 75 20 | 6d 61 79 20 77 61 6e 74 |ws, you |may want|
|00000540| 20 74 6f 20 61 64 64 20 | 74 68 65 73 65 20 74 77 | to add |these tw|
|00000550| 6f 0a 23 20 6f 70 74 69 | 6f 6e 73 20 74 6f 20 74 |o.# opti|ons to t|
|00000560| 68 65 20 43 43 4f 50 54 | 53 20 6c 69 6e 65 2c 20 |he CCOPT|S line, |
|00000570| 73 6f 20 69 74 20 66 69 | 6e 64 73 20 74 68 65 20 |so it fi|nds the |
|00000580| 6c 69 62 73 20 61 6e 64 | 20 69 6e 63 6c 75 64 65 |libs and| include|
|00000590| 20 66 69 6c 65 73 0a 23 | 20 20 20 2d 4c 2f 75 73 | files.#| -L/us|
|000005a0| 72 2f 6f 70 65 6e 77 69 | 6e 2f 6c 69 62 20 2d 49 |r/openwi|n/lib -I|
|000005b0| 2f 75 73 72 2f 6f 70 65 | 6e 77 69 6e 2f 69 6e 63 |/usr/ope|nwin/inc|
|000005c0| 6c 75 64 65 0a 0a 0a 0a | 23 23 23 23 23 23 23 23 |lude....|########|
|000005d0| 23 23 23 23 23 23 23 23 | 20 43 4f 4e 46 49 47 55 |########| CONFIGU|
|000005e0| 52 41 54 49 4f 4e 20 4f | 50 54 49 4f 4e 53 20 23 |RATION O|PTIONS #|
|000005f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000600| 0a 0a 23 20 69 66 2c 20 | 66 6f 72 20 77 68 61 74 |..# if, |for what|
|00000610| 65 76 65 72 20 72 65 61 | 73 6f 6e 2c 20 79 6f 75 |ever rea|son, you|
|00000620| 27 72 65 20 75 6e 61 62 | 6c 65 20 74 6f 20 67 65 |'re unab|le to ge|
|00000630| 74 20 74 68 65 20 4a 50 | 45 47 20 6c 69 62 72 61 |t the JP|EG libra|
|00000640| 72 79 20 74 6f 20 63 6f | 6d 70 69 6c 65 0a 23 20 |ry to co|mpile.# |
|00000650| 6f 6e 20 79 6f 75 72 20 | 6d 61 63 68 69 6e 65 2c |on your |machine,|
|00000660| 20 2a 43 4f 4d 4d 45 4e | 54 20 4f 55 54 2a 20 74 | *COMMEN|T OUT* t|
|00000670| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6c 69 6e |he follo|wing lin|
|00000680| 65 73 0a 23 0a 23 20 41 | 6c 73 6f 2c 20 63 6f 6d |es.#.# A|lso, com|
|00000690| 6d 65 6e 74 20 6f 75 74 | 20 74 68 65 20 4c 49 42 |ment out| the LIB|
|000006a0| 4a 50 45 47 20 64 65 70 | 65 6e 64 61 6e 63 79 20 |JPEG dep|endancy |
|000006b0| 61 74 20 74 68 65 20 65 | 6e 64 20 6f 66 20 74 68 |at the e|nd of th|
|000006c0| 69 73 20 4d 61 6b 65 66 | 69 6c 65 0a 23 0a 4a 50 |is Makef|ile.#.JP|
|000006d0| 45 47 20 3d 20 2d 44 48 | 41 56 45 5f 4a 50 45 47 |EG = -DH|AVE_JPEG|
|000006e0| 0a 4a 50 45 47 44 49 52 | 20 3d 20 6a 70 65 67 0a |.JPEGDIR| = jpeg.|
|000006f0| 4c 49 42 4a 50 45 47 20 | 3d 20 24 28 4a 50 45 47 |LIBJPEG |= $(JPEG|
|00000700| 44 49 52 29 2f 6c 69 62 | 6a 70 65 67 2e 61 0a 4a |DIR)/lib|jpeg.a.J|
|00000710| 50 45 47 49 4e 43 4c 55 | 44 45 20 3d 20 2d 49 24 |PEGINCLU|DE = -I$|
|00000720| 28 4a 50 45 47 44 49 52 | 29 0a 0a 0a 23 20 69 66 |(JPEGDIR|)...# if|
|00000730| 2c 20 66 6f 72 20 77 68 | 61 74 65 76 65 72 20 72 |, for wh|atever r|
|00000740| 65 61 73 6f 6e 2c 20 79 | 6f 75 27 72 65 20 75 6e |eason, y|ou're un|
|00000750| 61 62 6c 65 20 74 6f 20 | 67 65 74 20 74 68 65 20 |able to |get the |
|00000760| 54 49 46 46 20 6c 69 62 | 72 61 72 79 20 74 6f 20 |TIFF lib|rary to |
|00000770| 63 6f 6d 70 69 6c 65 0a | 23 20 6f 6e 20 79 6f 75 |compile.|# on you|
|00000780| 72 20 6d 61 63 68 69 6e | 65 2c 20 2a 43 4f 4d 4d |r machin|e, *COMM|
|00000790| 45 4e 54 20 4f 55 54 2a | 20 74 68 65 20 66 6f 6c |ENT OUT*| the fol|
|000007a0| 6c 6f 77 69 6e 67 20 6c | 69 6e 65 73 0a 23 0a 23 |lowing l|ines.#.#|
|000007b0| 20 41 6c 73 6f 2c 20 63 | 6f 6d 6d 65 6e 74 20 6f | Also, c|omment o|
|000007c0| 75 74 20 74 68 65 20 4c | 49 42 4a 50 45 47 20 64 |ut the L|IBJPEG d|
|000007d0| 65 70 65 6e 64 61 6e 63 | 79 20 61 74 20 74 68 65 |ependanc|y at the|
|000007e0| 20 65 6e 64 20 6f 66 20 | 74 68 69 73 20 4d 61 6b | end of |this Mak|
|000007f0| 65 66 69 6c 65 0a 23 0a | 54 49 46 46 20 3d 20 2d |efile.#.|TIFF = -|
|00000800| 44 48 41 56 45 5f 54 49 | 46 46 0a 54 49 46 46 44 |DHAVE_TI|FF.TIFFD|
|00000810| 49 52 20 3d 20 74 69 66 | 66 0a 4c 49 42 54 49 46 |IR = tif|f.LIBTIF|
|00000820| 46 20 3d 20 24 28 54 49 | 46 46 44 49 52 29 2f 6c |F = $(TI|FFDIR)/l|
|00000830| 69 62 74 69 66 66 2e 61 | 0a 54 49 46 46 49 4e 43 |ibtiff.a|.TIFFINC|
|00000840| 4c 55 44 45 20 3d 20 2d | 49 24 28 54 49 46 46 44 |LUDE = -|I$(TIFFD|
|00000850| 49 52 29 0a 0a 0a 23 20 | 69 66 2c 20 66 6f 72 20 |IR)...# |if, for |
|00000860| 77 68 61 74 65 76 65 72 | 20 72 65 61 73 6f 6e 2c |whatever| reason,|
|00000870| 20 79 6f 75 27 72 65 20 | 75 6e 61 62 6c 65 20 74 | you're |unable t|
|00000880| 6f 20 67 65 74 20 74 68 | 65 20 50 44 53 2f 56 49 |o get th|e PDS/VI|
|00000890| 43 41 52 20 73 75 70 70 | 6f 72 74 0a 23 20 74 6f |CAR supp|ort.# to|
|000008a0| 20 63 6f 6d 70 69 6c 65 | 20 28 78 76 70 64 73 2e | compile| (xvpds.|
|000008b0| 63 2c 20 61 6e 64 20 76 | 64 63 6f 6d 70 2e 63 29 |c, and v|dcomp.c)|
|000008c0| 2c 20 2a 43 4f 4d 4d 45 | 4e 54 20 4f 55 54 2a 20 |, *COMME|NT OUT* |
|000008d0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 6c 69 |the foll|owing li|
|000008e0| 6e 65 2c 0a 23 20 61 6e | 64 20 61 6c 73 6f 20 72 |ne,.# an|d also r|
|000008f0| 65 6d 6f 76 65 20 27 76 | 64 63 6f 6d 70 27 20 66 |emove 'v|dcomp' f|
|00000900| 72 6f 6d 20 74 68 65 20 | 27 61 6c 6c 3a 27 20 64 |rom the |'all:' d|
|00000910| 65 70 65 6e 64 61 6e 63 | 79 20 0a 50 44 53 20 3d |ependanc|y .PDS =|
|00000920| 20 2d 44 48 41 56 45 5f | 50 44 53 0a 0a 0a 23 20 | -DHAVE_|PDS...# |
|00000930| 69 66 2c 20 66 6f 72 20 | 77 68 61 74 65 76 65 72 |if, for |whatever|
|00000940| 20 72 65 61 73 6f 6e 2c | 20 79 6f 75 20 64 6f 6e | reason,| you don|
|00000950| 27 74 20 77 69 73 68 20 | 74 6f 20 75 73 65 20 74 |'t wish |to use t|
|00000960| 68 65 20 66 73 51 75 69 | 63 6b 20 73 6f 66 74 77 |he fsQui|ck softw|
|00000970| 61 72 65 0a 23 20 28 77 | 68 69 63 68 20 63 75 72 |are.# (w|hich cur|
|00000980| 72 65 6e 74 6c 79 20 6f | 6e 6c 79 20 61 66 66 65 |rently o|nly affe|
|00000990| 63 74 73 20 78 76 27 73 | 20 70 65 72 66 6f 72 6d |cts xv's| perform|
|000009a0| 61 6e 63 65 20 6f 6e 20 | 61 20 31 2d 62 69 74 20 |ance on |a 1-bit |
|000009b0| 64 69 73 70 6c 61 79 29 | 0a 23 20 79 6f 75 20 73 |display)|.# you s|
|000009c0| 68 6f 75 6c 64 20 63 6f | 6d 6d 65 6e 74 20 6f 75 |hould co|mment ou|
|000009d0| 74 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |t the fo|llowing |
|000009e0| 6c 69 6e 65 0a 23 20 28 | 66 73 51 75 69 63 6b 2e |line.# (|fsQuick.|
|000009f0| 63 20 63 6f 6e 74 61 69 | 6e 73 20 73 6f 6d 65 20 |c contai|ns some |
|00000a00| 68 75 67 65 20 6d 61 63 | 72 6f 20 64 65 66 69 6e |huge mac|ro defin|
|00000a10| 69 74 69 6f 6e 73 20 77 | 68 69 63 68 20 63 6f 75 |itions w|hich cou|
|00000a20| 6c 64 20 62 72 65 61 6b | 20 79 6f 75 72 0a 23 20 |ld break| your.# |
|00000a30| 43 20 70 72 65 70 72 6f | 63 65 73 73 6f 72 2e 2e |C prepro|cessor..|
|00000a40| 2e 0a 46 53 51 55 49 43 | 4b 20 3d 20 2d 44 48 41 |..FSQUIC|K = -DHA|
|00000a50| 56 45 5f 46 53 51 55 49 | 43 4b 0a 0a 0a 23 20 69 |VE_FSQUI|CK...# i|
|00000a60| 66 20 79 6f 75 20 61 72 | 65 20 72 75 6e 6e 69 6e |f you ar|e runnin|
|00000a70| 67 20 75 6e 64 65 72 20 | 44 58 57 4d 2c 20 49 20 |g under |DXWM, I |
|00000a80| 70 69 74 79 20 79 6f 75 | 2e 20 20 58 56 20 64 6f |pity you|. XV do|
|00000a90| 65 73 6e 27 74 20 77 6f | 72 6b 20 63 6f 72 72 65 |esn't wo|rk corre|
|00000aa0| 63 74 6c 79 0a 23 20 75 | 6e 64 65 72 20 44 58 57 |ctly.# u|nder DXW|
|00000ab0| 4d 2e 20 20 59 6f 75 20 | 73 68 6f 75 6c 64 20 70 |M. You |should p|
|00000ac0| 72 6f 62 61 62 6c 79 20 | 62 65 20 72 75 6e 6e 69 |robably |be runni|
|00000ad0| 6e 67 20 4d 57 4d 2e 20 | 20 48 6f 77 65 76 65 72 |ng MWM. | However|
|00000ae0| 2c 20 69 66 20 73 75 63 | 68 20 69 73 0a 23 20 6e |, if suc|h is.# n|
|00000af0| 6f 74 20 61 20 76 61 6c | 69 64 20 6f 70 74 69 6f |ot a val|id optio|
|00000b00| 6e 20 66 6f 72 20 79 6f | 75 2c 20 74 72 79 20 75 |n for yo|u, try u|
|00000b10| 6e 63 6f 6d 6d 65 6e 74 | 69 6e 67 20 74 68 65 20 |ncomment|ing the |
|00000b20| 66 6f 6c 6c 6f 77 69 6e | 67 20 6c 69 6e 65 2e 20 |followin|g line. |
|00000b30| 20 54 68 65 0a 23 20 62 | 65 68 61 76 69 6f 72 20 | The.# b|ehavior |
|00000b40| 77 6f 6e 27 74 20 62 65 | 20 27 72 69 67 68 74 27 |won't be| 'right'|
|00000b50| 2c 20 62 75 74 20 69 74 | 20 77 69 6c 6c 20 62 65 |, but it| will be|
|00000b60| 20 6c 65 73 73 20 27 77 | 72 6f 6e 67 27 2e 0a 23 | less 'w|rong'..#|
|00000b70| 44 58 57 4d 20 3d 20 2d | 44 44 58 57 4d 0a 0a 0a |DXWM = -|DDXWM...|
|00000b80| 23 20 69 66 20 79 6f 75 | 20 61 72 65 20 72 75 6e |# if you| are run|
|00000b90| 6e 69 6e 67 20 6f 6e 20 | 61 20 53 79 73 56 2d 62 |ning on |a SysV-b|
|00000ba0| 61 73 65 64 20 6d 61 63 | 68 69 6e 65 2c 20 73 75 |ased mac|hine, su|
|00000bb0| 63 68 20 61 73 20 48 50 | 2c 20 53 69 6c 69 63 6f |ch as HP|, Silico|
|00000bc0| 6e 20 47 72 61 70 68 69 | 63 73 2c 0a 23 20 65 74 |n Graphi|cs,.# et|
|00000bd0| 63 2c 20 75 6e 63 6f 6d | 6d 65 6e 74 20 74 68 65 |c, uncom|ment the|
|00000be0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6c 69 6e 65 20 | followi|ng line |
|00000bf0| 74 6f 20 67 65 74 20 79 | 6f 75 20 6d 6f 73 74 20 |to get y|ou most |
|00000c00| 6f 66 20 74 68 65 20 77 | 61 79 20 74 68 65 72 65 |of the w|ay there|
|00000c10| 2e 20 20 0a 23 0a 23 55 | 4e 49 58 20 3d 20 2d 44 |. .#.#U|NIX = -D|
|00000c20| 53 56 52 34 0a 0a 0a 23 | 20 49 66 20 79 6f 75 20 |SVR4...#| If you |
|00000c30| 61 72 65 20 72 75 6e 6e | 69 6e 67 20 6f 6e 20 61 |are runn|ing on a|
|00000c40| 20 50 4f 53 49 58 2d 63 | 6f 6d 70 61 74 69 62 6c | POSIX-c|ompatibl|
|00000c50| 65 20 6d 61 63 68 69 6e | 65 2c 20 73 75 63 68 20 |e machin|e, such |
|00000c60| 61 73 20 61 6e 0a 23 20 | 49 42 4d 20 52 53 2f 36 |as an.# |IBM RS/6|
|00000c70| 30 30 30 2c 20 79 6f 75 | 20 4d 41 59 20 6e 65 65 |000, you| MAY nee|
|00000c80| 64 20 74 6f 20 75 6e 63 | 6f 6d 6d 65 6e 74 20 74 |d to unc|omment t|
|00000c90| 68 65 20 27 4e 45 45 44 | 5f 44 49 52 45 4e 54 27 |he 'NEED|_DIRENT'|
|00000ca0| 20 6c 69 6e 65 2e 0a 23 | 20 54 6f 20 64 65 74 65 | line..#| To dete|
|00000cb0| 72 6d 69 6e 65 20 69 66 | 20 73 75 63 68 20 69 73 |rmine if| such is|
|00000cc0| 20 74 68 65 20 63 61 73 | 65 2c 20 64 6f 20 61 20 | the cas|e, do a |
|00000cd0| 27 6d 61 6e 20 72 65 61 | 64 64 69 72 27 20 6f 6e |'man rea|ddir' on|
|00000ce0| 20 79 6f 75 72 20 6d 61 | 63 68 69 6e 65 2e 20 20 | your ma|chine. |
|00000cf0| 49 66 0a 23 20 72 65 61 | 64 64 69 72 28 29 20 72 |If.# rea|ddir() r|
|00000d00| 65 74 75 72 6e 73 20 61 | 20 70 6f 69 6e 74 65 72 |eturns a| pointer|
|00000d10| 20 74 6f 20 27 73 74 72 | 75 63 74 20 64 69 72 65 | to 'str|uct dire|
|00000d20| 63 74 27 2c 20 79 6f 75 | 20 77 69 6c 6c 20 6e 6f |ct', you| will no|
|00000d30| 74 20 68 61 76 65 0a 23 | 20 74 6f 20 63 68 61 6e |t have.#| to chan|
|00000d40| 67 65 20 61 6e 79 74 68 | 69 6e 67 2e 20 20 49 66 |ge anyth|ing. If|
|00000d50| 2c 20 68 6f 77 65 76 65 | 72 2c 20 72 65 61 64 64 |, howeve|r, readd|
|00000d60| 69 72 28 29 20 72 65 74 | 75 72 6e 73 20 61 20 70 |ir() ret|urns a p|
|00000d70| 6f 69 6e 74 65 72 20 74 | 6f 0a 23 20 27 73 74 72 |ointer t|o.# 'str|
|00000d80| 75 63 74 20 64 69 72 65 | 6e 74 27 2c 20 79 6f 75 |uct dire|nt', you|
|00000d90| 20 77 69 6c 6c 20 68 61 | 76 65 20 74 6f 20 61 64 | will ha|ve to ad|
|00000da0| 64 20 74 68 65 20 27 2d | 44 44 49 52 45 4e 54 27 |d the '-|DDIRENT'|
|00000db0| 20 74 6f 20 43 46 4c 41 | 47 53 0a 23 0a 23 20 4f | to CFLA|GS.#.# O|
|00000dc0| 6e 65 20 6e 6f 74 65 3a | 20 66 6f 6c 6b 73 20 75 |ne note:| folks u|
|00000dd0| 73 69 6e 67 20 61 6e 20 | 49 42 4d 20 52 53 2f 36 |sing an |IBM RS/6|
|00000de0| 30 30 30 20 64 6f 6e 27 | 74 20 68 61 76 65 20 74 |000 don'|t have t|
|00000df0| 6f 20 74 6f 75 63 68 20 | 74 68 69 73 20 6c 69 6e |o touch |this lin|
|00000e00| 65 2e 20 20 0a 23 20 20 | 20 20 20 20 20 20 20 20 |e. .# | |
|00000e10| 20 49 20 63 68 65 63 6b | 20 66 6f 72 20 27 36 30 | I check| for '60|
|00000e20| 30 30 27 2d 68 6f 6f 64 | 20 69 6e 20 78 76 2e 68 |00'-hood| in xv.h|
|00000e30| 0a 23 0a 23 4e 45 45 44 | 5f 44 49 52 45 4e 54 20 |.#.#NEED|_DIRENT |
|00000e40| 3d 20 2d 44 44 49 52 45 | 4e 54 0a 0a 0a 23 0a 23 |= -DDIRE|NT...#.#|
|00000e50| 20 66 6f 72 20 55 4d 41 | 58 20 56 20 62 79 20 45 | for UMA|X V by E|
|00000e60| 6e 63 6f 72 65 20 43 6f | 6d 70 75 74 65 72 73 20 |ncore Co|mputers |
|00000e70| 75 6e 63 6f 6d 6d 65 6e | 74 20 74 68 65 20 66 6f |uncommen|t the fo|
|00000e80| 6c 6c 6f 77 69 6e 67 20 | 6c 69 6e 65 20 66 6f 72 |llowing |line for|
|00000e90| 0a 23 20 74 68 65 20 70 | 6f 72 74 61 62 6c 65 20 |.# the p|ortable |
|00000ea0| 63 20 63 6f 6d 70 69 6c | 65 72 2c 20 73 79 73 74 |c compil|er, syst|
|00000eb0| 65 6d 20 73 70 65 63 69 | 66 69 63 20 64 65 66 69 |em speci|fic defi|
|00000ec0| 6e 69 74 69 6f 6e 73 20 | 61 6e 64 0a 23 20 6c 6f |nitions |and.# lo|
|00000ed0| 63 61 74 69 6f 6e 20 6f | 66 20 6c 6f 63 61 6c 20 |cation o|f local |
|00000ee0| 58 31 31 20 6c 69 62 72 | 61 72 79 28 69 66 20 73 |X11 libr|ary(if s|
|00000ef0| 69 74 65 20 73 70 65 63 | 69 66 69 63 2c 20 6d 6f |ite spec|ific, mo|
|00000f00| 64 69 66 79 20 2d 4c 20 | 6f 70 74 69 6f 6e 29 0a |dify -L |option).|
|00000f10| 23 20 4e 6f 20 6f 74 68 | 65 72 20 73 77 69 74 63 |# No oth|er switc|
|00000f20| 68 65 73 20 73 68 6f 75 | 6c 64 20 62 65 20 6e 65 |hes shou|ld be ne|
|00000f30| 63 65 73 73 61 72 79 0a | 23 0a 23 55 4d 41 58 20 |cessary.|#.#UMAX |
|00000f40| 3d 20 20 2d 71 20 65 78 | 74 65 6e 73 69 6f 6e 73 |= -q ex|tensions|
|00000f50| 3d 70 63 63 5f 63 20 2d | 44 5f 5f 55 4d 41 58 56 |=pcc_c -|D__UMAXV|
|00000f60| 5f 5f 20 2d 4c 2f 75 73 | 72 32 2f 75 73 72 2f 6c |__ -L/us|r2/usr/l|
|00000f70| 69 62 2f 58 31 31 20 2d | 44 53 56 52 34 20 2d 44 |ib/X11 -|DSVR4 -D|
|00000f80| 44 49 52 45 4e 54 0a 0a | 0a 23 20 49 66 20 79 6f |DIRENT..|.# If yo|
|00000f90| 75 72 20 6d 61 63 68 69 | 6e 65 20 64 6f 65 73 6e |ur machi|ne doesn|
|00000fa0| 27 74 20 68 61 76 65 20 | 74 68 65 20 27 73 74 72 |'t have |the 'str|
|00000fb0| 63 68 72 27 2c 20 27 6d | 65 6d 73 65 74 27 20 61 |chr', 'm|emset' a|
|00000fc0| 6e 64 20 27 6d 65 6d 63 | 70 79 27 20 66 75 6e 63 |nd 'memc|py' func|
|00000fd0| 74 69 6f 6e 73 2c 0a 23 | 20 62 75 74 20 64 6f 65 |tions,.#| but doe|
|00000fe0| 73 20 68 61 76 65 20 27 | 62 63 6f 70 79 27 2c 20 |s have '|bcopy', |
|00000ff0| 75 6e 63 6f 6d 6d 65 6e | 74 20 74 68 65 20 66 6f |uncommen|t the fo|
|00001000| 6c 6c 6f 77 69 6e 67 20 | 6c 69 6e 65 2e 20 20 28 |llowing |line. (|
|00001010| 41 6e 64 20 67 65 74 20 | 61 20 62 65 74 74 65 72 |And get |a better|
|00001020| 20 0a 23 20 6f 70 65 72 | 61 74 69 6e 67 20 73 79 | .# oper|ating sy|
|00001030| 73 74 65 6d 21 29 0a 23 | 0a 23 55 53 45 4d 45 4d |stem!).#|.#USEMEM|
|00001040| 20 3d 20 2d 44 4e 45 45 | 44 5f 4d 45 4d 52 4f 55 | = -DNEE|D_MEMROU|
|00001050| 54 49 4e 45 53 0a 0a 23 | 20 69 66 20 79 6f 75 72 |TINES..#| if your|
|00001060| 20 6d 61 63 68 69 6e 65 | 20 64 6f 65 73 6e 27 74 | machine| doesn't|
|00001070| 20 68 61 76 65 20 27 72 | 61 6e 64 6f 6d 28 29 27 | have 'r|andom()'|
|00001080| 2c 20 62 75 74 20 64 6f | 65 73 20 68 61 76 65 20 |, but do|es have |
|00001090| 27 72 61 6e 64 28 29 2c | 0a 23 20 75 6e 63 6f 6d |'rand(),|.# uncom|
|000010a0| 6d 65 6e 74 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |ment the| followi|
|000010b0| 6e 67 20 6c 69 6e 65 3a | 0a 23 0a 23 52 41 4e 44 |ng line:|.#.#RAND|
|000010c0| 20 3d 20 2d 44 4e 4f 5f | 52 41 4e 44 4f 4d 0a 0a | = -DNO_|RANDOM..|
|000010d0| 23 20 49 46 20 59 4f 55 | 52 20 4d 41 43 48 49 4e |# IF YOU|R MACHIN|
|000010e0| 45 20 44 4f 45 53 4e 27 | 54 20 48 41 56 45 20 27 |E DOESN'|T HAVE '|
|000010f0| 76 70 72 69 6e 74 66 28 | 29 27 20 4f 52 20 27 76 |vprintf(|)' OR 'v|
|00001100| 73 70 72 69 6e 74 66 28 | 29 27 0a 23 0a 23 20 56 |sprintf(|)'.#.# V|
|00001110| 61 78 20 42 53 44 20 61 | 6e 64 20 49 42 4d 20 41 |ax BSD a|nd IBM A|
|00001120| 4f 53 20 64 6f 6e 27 74 | 20 68 61 76 65 20 76 70 |OS don't| have vp|
|00001130| 72 69 6e 74 66 20 6f 72 | 20 76 73 70 72 69 6e 74 |rintf or| vsprint|
|00001140| 66 2e 0a 23 20 4e 6f 74 | 65 20 74 68 61 74 20 6f |f..# Not|e that o|
|00001150| 75 72 20 6c 6f 63 61 6c | 20 6c 69 62 72 61 72 79 |ur local| library|
|00001160| 20 76 65 72 73 69 6f 6e | 73 20 6f 66 20 73 70 72 | version|s of spr|
|00001170| 69 6e 74 66 20 68 61 76 | 65 20 62 65 65 6e 20 75 |intf hav|e been u|
|00001180| 70 64 61 74 65 64 0a 23 | 20 74 6f 20 72 65 74 75 |pdated.#| to retu|
|00001190| 72 6e 20 69 6e 74 2c 20 | 74 68 65 20 6e 75 6d 62 |rn int, |the numb|
|000011a0| 65 72 20 6f 66 20 63 68 | 61 72 61 63 74 65 72 73 |er of ch|aracters|
|000011b0| 20 69 6e 20 74 68 65 20 | 66 6f 72 6d 61 74 74 65 | in the |formatte|
|000011c0| 64 20 73 74 72 69 6e 67 | 2c 0a 23 20 77 68 65 72 |d string|,.# wher|
|000011d0| 65 61 73 20 74 68 65 20 | 76 65 72 73 69 6f 6e 73 |eas the |versions|
|000011e0| 20 69 6e 20 73 74 6f 63 | 6b 20 34 2e 33 42 53 44 | in stoc|k 4.3BSD|
|000011f0| 20 64 6f 20 6e 6f 74 20 | 73 6f 20 72 65 74 75 72 | do not |so retur|
|00001200| 6e 2e 20 20 59 6f 75 20 | 6d 61 79 0a 23 20 68 61 |n. You |may.# ha|
|00001210| 76 65 20 74 6f 20 72 65 | 6d 6f 76 65 20 74 68 65 |ve to re|move the|
|00001220| 20 22 2d 44 49 4e 54 53 | 50 52 49 4e 54 46 22 20 | "-DINTS|PRINTF" |
|00001230| 62 65 6c 6f 77 20 69 66 | 20 79 6f 75 27 72 65 20 |below if| you're |
|00001240| 63 6f 6d 70 69 6c 69 6e | 67 20 66 6f 72 0a 23 20 |compilin|g for.# |
|00001250| 73 74 6f 63 6b 20 34 2e | 33 42 53 44 20 6f 72 20 |stock 4.|3BSD or |
|00001260| 66 6f 72 20 73 6f 6d 65 | 20 6f 74 68 65 72 20 56 |for some| other V|
|00001270| 61 78 20 6f 72 20 52 54 | 20 6c 69 62 72 61 72 79 |ax or RT| library|
|00001280| 20 70 61 63 6b 61 67 65 | 20 77 68 65 72 65 0a 23 | package| where.#|
|00001290| 20 73 70 72 69 6e 74 66 | 20 72 65 74 75 72 6e 73 | sprintf| returns|
|000012a0| 20 63 68 61 72 20 2a 2e | 0a 23 0a 23 20 41 6c 73 | char *.|.#.# Als|
|000012b0| 6f 2c 20 49 20 64 65 66 | 69 6e 65 20 4e 4f 56 4f |o, I def|ine NOVO|
|000012c0| 49 44 20 6f 6e 20 74 68 | 65 20 56 61 78 20 62 65 |ID on th|e Vax be|
|000012d0| 63 61 75 73 65 20 49 27 | 6d 20 75 73 69 6e 67 20 |cause I'|m using |
|000012e0| 70 63 63 20 74 6f 20 63 | 6f 6d 70 69 6c 65 2e 0a |pcc to c|ompile..|
|000012f0| 23 20 49 66 20 79 6f 75 | 20 75 73 65 20 67 63 63 |# If you| use gcc|
|00001300| 20 6f 72 20 73 6f 6d 65 | 20 6f 74 68 65 72 20 62 | or some| other b|
|00001310| 65 74 74 65 72 20 63 6f | 6d 70 69 6c 65 72 2c 20 |etter co|mpiler, |
|00001320| 74 68 69 73 20 73 68 6f | 75 6c 64 20 6e 6f 74 20 |this sho|uld not |
|00001330| 62 65 0a 23 20 6e 65 63 | 65 73 73 61 72 79 2e 20 |be.# nec|essary. |
|00001340| 20 49 20 64 65 66 69 6e | 65 20 4e 4f 53 54 44 48 | I defin|e NOSTDH|
|00001350| 44 52 53 20 6f 6e 20 74 | 68 65 20 52 54 20 62 65 |DRS on t|he RT be|
|00001360| 63 61 75 73 65 20 77 65 | 20 64 6f 6e 27 74 20 68 |cause we| don't h|
|00001370| 61 76 65 0a 23 20 73 74 | 61 6e 64 61 72 64 20 41 |ave.# st|andard A|
|00001380| 4e 53 49 20 68 65 61 64 | 65 72 20 66 69 6c 65 73 |NSI head|er files|
|00001390| 20 69 6e 73 74 61 6c 6c | 65 64 20 66 6f 72 20 74 | install|ed for t|
|000013a0| 68 65 20 52 54 2c 20 65 | 76 65 6e 20 74 68 6f 75 |he RT, e|ven thou|
|000013b0| 67 68 20 74 68 65 20 52 | 54 0a 23 20 63 6f 6d 70 |gh the R|T.# comp|
|000013c0| 69 6c 65 72 20 63 6c 61 | 69 6d 73 20 74 6f 20 62 |iler cla|ims to b|
|000013d0| 65 20 41 4e 53 49 2d 63 | 6f 6d 70 6c 69 61 6e 74 |e ANSI-c|ompliant|
|000013e0| 2e 0a 23 0a 23 20 20 28 | 66 6f 72 20 42 53 44 20 |..#.# (|for BSD |
|000013f0| 34 2e 33 20 56 41 58 2c | 20 75 6e 63 6f 6d 6d 65 |4.3 VAX,| uncomme|
|00001400| 6e 74 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |nt the f|ollowing|
|00001410| 20 6c 69 6e 65 29 0a 23 | 56 50 52 49 4e 54 46 20 | line).#|VPRINTF |
|00001420| 3d 20 2d 44 4e 45 45 44 | 5f 56 50 52 49 4e 54 46 |= -DNEED|_VPRINTF|
|00001430| 20 2d 44 49 4e 54 53 50 | 52 49 4e 54 46 20 2d 44 | -DINTSP|RINTF -D|
|00001440| 4c 4f 4e 47 49 4e 54 20 | 2d 44 4e 4f 56 4f 49 44 |LONGINT |-DNOVOID|
|00001450| 0a 23 20 20 28 66 6f 72 | 20 28 73 74 6f 63 6b 29 |.# (for| (stock)|
|00001460| 20 49 42 4d 20 52 54 20 | 41 4f 53 20 34 2e 33 2c | IBM RT |AOS 4.3,|
|00001470| 20 75 6e 63 6f 6d 6d 65 | 6e 74 20 74 68 65 20 66 | uncomme|nt the f|
|00001480| 6f 6c 6c 6f 77 69 6e 67 | 20 6c 69 6e 65 29 0a 23 |ollowing| line).#|
|00001490| 56 50 52 49 4e 54 46 20 | 3d 20 2d 44 4e 45 45 44 |VPRINTF |= -DNEED|
|000014a0| 5f 56 50 52 49 4e 54 46 | 20 2d 44 4c 4f 4e 47 49 |_VPRINTF| -DLONGI|
|000014b0| 4e 54 20 2d 44 4e 4f 53 | 54 44 48 44 52 53 0a 23 |NT -DNOS|TDHDRS.#|
|000014c0| 20 20 28 66 6f 72 20 53 | 65 71 75 65 6e 74 20 72 | (for S|equent r|
|000014d0| 75 6e 6e 69 6e 67 20 44 | 59 4e 49 58 20 33 2e 31 |unning D|YNIX 3.1|
|000014e0| 2e 34 2c 20 75 6e 63 6f | 6d 6d 65 6e 74 20 74 68 |.4, unco|mment th|
|000014f0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6c 69 6e 65 |e follow|ing line|
|00001500| 29 0a 23 56 50 52 49 4e | 54 46 20 3d 20 2d 44 4e |).#VPRIN|TF = -DN|
|00001510| 45 45 44 5f 56 50 52 49 | 4e 54 46 20 2d 44 4c 4f |EED_VPRI|NTF -DLO|
|00001520| 4e 47 49 4e 54 20 2d 44 | 4e 4f 53 54 44 48 44 52 |NGINT -D|NOSTDHDR|
|00001530| 53 0a 0a 0a 23 20 49 66 | 20 79 6f 75 72 20 6d 61 |S...# If| your ma|
|00001540| 63 68 69 6e 65 20 64 6f | 65 73 20 6e 6f 74 20 68 |chine do|es not h|
|00001550| 61 76 65 20 74 68 65 20 | 27 73 65 74 69 74 69 6d |ave the |'setitim|
|00001560| 65 72 28 29 27 20 63 61 | 6c 6c 2c 20 62 75 74 20 |er()' ca|ll, but |
|00001570| 64 6f 65 73 0a 23 20 68 | 61 76 65 20 74 68 65 20 |does.# h|ave the |
|00001580| 27 75 73 6c 65 65 70 28 | 29 27 20 63 61 6c 6c 2c |'usleep(|)' call,|
|00001590| 20 75 6e 63 6f 6d 6d 65 | 6e 74 20 74 68 65 20 66 | uncomme|nt the f|
|000015a0| 6f 6c 6c 6f 77 69 6e 67 | 20 6c 69 6e 65 3a 0a 23 |ollowing| line:.#|
|000015b0| 0a 23 54 49 4d 45 52 53 | 20 3d 20 2d 44 55 53 4c |.#TIMERS| = -DUSL|
|000015c0| 45 45 50 0a 23 0a 23 20 | 61 6c 74 65 72 6e 61 74 |EEP.#.# |alternat|
|000015d0| 65 6c 79 2c 20 69 66 20 | 79 6f 75 72 20 6d 61 63 |ely, if |your mac|
|000015e0| 68 69 6e 65 20 64 6f 65 | 73 20 6e 6f 74 20 68 61 |hine doe|s not ha|
|000015f0| 76 65 20 45 49 54 48 45 | 52 20 74 68 65 20 27 73 |ve EITHE|R the 's|
|00001600| 65 74 69 74 69 6d 65 72 | 28 29 27 20 6f 72 0a 23 |etitimer|()' or.#|
|00001610| 20 74 68 65 20 27 75 73 | 6c 65 65 70 28 29 27 20 | the 'us|leep()' |
|00001620| 63 61 6c 6c 2c 20 75 6e | 63 6f 6d 6d 65 6e 74 20 |call, un|comment |
|00001630| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 6c 69 |the foll|owing li|
|00001640| 6e 65 3a 0a 23 0a 23 54 | 49 4d 45 52 53 20 3d 20 |ne:.#.#T|IMERS = |
|00001650| 2d 44 4e 4f 54 49 4d 45 | 52 0a 0a 0a 23 20 49 66 |-DNOTIME|R...# If|
|00001660| 20 79 6f 75 20 61 72 65 | 20 75 73 69 6e 67 20 61 | you are| using a|
|00001670| 6e 20 41 54 26 54 20 6d | 61 63 68 69 6e 65 2c 20 |n AT&T m|achine, |
|00001680| 75 6e 63 6f 6d 6d 65 6e | 74 20 74 68 65 20 66 6f |uncommen|t the fo|
|00001690| 6c 6c 6f 77 69 6e 67 20 | 6c 69 6e 65 0a 23 20 49 |llowing |line.# I|
|000016a0| 66 20 79 6f 75 20 68 61 | 76 65 20 70 72 6f 62 6c |f you ha|ve probl|
|000016b0| 65 6d 73 20 63 6f 6d 70 | 69 6c 69 6e 67 20 78 76 |ems comp|iling xv|
|000016c0| 2e 63 20 61 6e 64 20 78 | 76 64 69 72 2e 63 20 62 |.c and x|vdir.c b|
|000016d0| 65 63 61 75 73 65 20 6f | 66 20 74 68 65 20 44 49 |ecause o|f the DI|
|000016e0| 52 0a 23 20 72 65 66 65 | 72 65 6e 63 65 20 69 6e |R.# refe|rence in|
|000016f0| 20 64 69 72 65 6e 74 2e | 68 2c 20 61 70 70 65 6e | dirent.|h, appen|
|00001700| 64 20 27 2d 44 41 54 54 | 27 20 74 6f 20 74 68 65 |d '-DATT|' to the|
|00001710| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6c 69 6e 65 3a | followi|ng line:|
|00001720| 0a 23 0a 23 41 54 54 20 | 3d 20 2d 44 44 49 52 45 |.#.#ATT |= -DDIRE|
|00001730| 4e 54 20 2d 44 55 53 4c | 45 45 50 20 2d 44 41 54 |NT -DUSL|EEP -DAT|
|00001740| 54 0a 0a 0a 23 20 49 66 | 20 79 6f 75 20 61 72 65 |T...# If| you are|
|00001750| 20 75 73 69 6e 67 20 61 | 6e 20 48 50 20 72 75 6e | using a|n HP run|
|00001760| 6e 69 6e 67 20 48 50 55 | 58 20 37 2e 30 2c 20 75 |ning HPU|X 7.0, u|
|00001770| 6e 63 6f 6d 6d 65 6e 74 | 20 74 68 65 20 66 6f 6c |ncomment| the fol|
|00001780| 6c 6f 77 69 6e 67 20 6c | 69 6e 65 0a 23 0a 23 48 |lowing l|ine.#.#H|
|00001790| 50 55 58 37 20 3d 20 2d | 44 53 56 52 34 20 2d 44 |PUX7 = -|DSVR4 -D|
|000017a0| 41 54 54 20 2b 4e 73 34 | 30 30 30 20 2d 44 48 50 |ATT +Ns4|000 -DHP|
|000017b0| 55 58 37 0a 0a 0a 23 20 | 46 6f 72 20 53 43 4f 20 |UX7...# |For SCO |
|000017c0| 61 6e 64 20 4f 44 54 20 | 6d 61 63 68 69 6e 65 73 |and ODT |machines|
|000017d0| 2c 20 75 6e 63 6f 6d 6d | 65 6e 74 20 74 68 65 20 |, uncomm|ent the |
|000017e0| 66 6f 6c 6c 6f 77 69 6e | 67 3a 0a 23 0a 23 53 43 |followin|g:.#.#SC|
|000017f0| 4f 20 3d 20 2d 44 73 63 | 6f 20 2d 44 50 4f 53 49 |O = -Dsc|o -DPOSI|
|00001800| 58 20 2d 44 4e 4f 54 49 | 4d 45 52 0a 23 0a 23 20 |X -DNOTI|MER.#.# |
|00001810| 49 74 69 6d 65 72 73 20 | 77 69 6c 6c 20 62 65 20 |Itimers |will be |
|00001820| 69 6e 20 33 2e 32 76 33 | 20 28 79 65 61 68 21 29 |in 3.2v3| (yeah!)|
|00001830| 20 62 75 74 20 74 68 61 | 74 20 77 6f 6e 27 74 20 | but tha|t won't |
|00001840| 62 65 20 6f 75 74 20 69 | 6e 20 74 68 65 20 70 75 |be out i|n the pu|
|00001850| 62 6c 69 63 27 73 0a 23 | 20 68 61 6e 64 73 20 66 |blic's.#| hands f|
|00001860| 6f 72 20 61 20 77 68 69 | 6c 65 2e 0a 23 0a 23 20 |or a whi|le..#.# |
|00001870| 41 6c 73 6f 2c 20 79 6f | 75 27 6c 6c 20 77 61 6e |Also, yo|u'll wan|
|00001880| 74 20 74 6f 20 63 68 61 | 6e 67 65 20 4c 49 42 53 |t to cha|nge LIBS|
|00001890| 20 74 6f 0a 23 0a 23 20 | 20 2d 6c 58 31 31 20 2d | to.#.# | -lX11 -|
|000018a0| 6c 6d 20 2d 6c 73 6f 63 | 6b 65 74 20 2d 6c 6d 61 |lm -lsoc|ket -lma|
|000018b0| 6c 6c 6f 63 20 2d 6c 63 | 20 2d 6c 78 0a 23 0a 23 |lloc -lc| -lx.#.#|
|000018c0| 20 2d 6c 78 20 6d 75 73 | 74 20 62 65 20 61 66 74 | -lx mus|t be aft|
|000018d0| 65 72 20 2d 6c 63 20 73 | 6f 20 79 6f 75 20 67 65 |er -lc s|o you ge|
|000018e0| 74 20 74 68 65 20 72 69 | 67 68 74 20 64 69 72 65 |t the ri|ght dire|
|000018f0| 63 74 6f 72 79 20 72 6f | 75 74 69 6e 65 73 2e 0a |ctory ro|utines..|
|00001900| 23 0a 0a 43 46 4c 41 47 | 53 20 3d 20 24 28 43 43 |#..CFLAG|S = $(CC|
|00001910| 4f 50 54 53 29 20 24 28 | 4e 45 45 44 5f 44 49 52 |OPTS) $(|NEED_DIR|
|00001920| 45 4e 54 29 20 24 28 56 | 50 52 49 4e 54 46 29 20 |ENT) $(V|PRINTF) |
|00001930| 24 28 54 49 4d 45 52 53 | 29 20 24 28 41 54 54 29 |$(TIMERS|) $(ATT)|
|00001940| 20 5c 0a 09 24 28 53 43 | 4f 29 20 24 28 55 4e 49 | \..$(SC|O) $(UNI|
|00001950| 58 29 20 24 28 55 53 45 | 4d 45 4d 29 20 24 28 48 |X) $(USE|MEM) $(H|
|00001960| 50 55 58 37 29 20 24 28 | 4a 50 45 47 29 20 24 28 |PUX7) $(|JPEG) $(|
|00001970| 4a 50 45 47 49 4e 43 4c | 55 44 45 29 20 5c 0a 09 |JPEGINCL|UDE) \..|
|00001980| 24 28 44 58 57 4d 29 20 | 24 28 55 4d 41 58 29 20 |$(DXWM) |$(UMAX) |
|00001990| 24 28 46 53 51 55 49 43 | 4b 29 20 24 28 52 41 4e |$(FSQUIC|K) $(RAN|
|000019a0| 44 29 20 24 28 54 49 46 | 46 29 20 24 28 54 49 46 |D) $(TIF|F) $(TIF|
|000019b0| 46 49 4e 43 4c 55 44 45 | 29 20 24 28 50 44 53 29 |FINCLUDE|) $(PDS)|
|000019c0| 0a 0a 4c 49 42 53 20 3d | 20 2d 6c 58 31 31 20 24 |..LIBS =| -lX11 $|
|000019d0| 28 4c 49 42 4a 50 45 47 | 29 20 24 28 4c 49 42 54 |(LIBJPEG|) $(LIBT|
|000019e0| 49 46 46 29 20 2d 6c 6d | 0a 0a 42 49 54 4d 41 50 |IFF) -lm|..BITMAP|
|000019f0| 53 20 3d 20 62 69 74 6d | 61 70 73 2f 67 72 61 73 |S = bitm|aps/gras|
|00001a00| 70 20 62 69 74 6d 61 70 | 73 2f 70 65 6e 6e 20 62 |p bitmap|s/penn b|
|00001a10| 69 74 6d 61 70 73 2f 64 | 6f 77 6e 20 62 69 74 6d |itmaps/d|own bitm|
|00001a20| 61 70 73 2f 64 6f 77 6e | 31 20 5c 0a 09 20 20 62 |aps/down|1 \.. b|
|00001a30| 69 74 6d 61 70 73 2f 75 | 70 20 62 69 74 6d 61 70 |itmaps/u|p bitmap|
|00001a40| 73 2f 75 70 31 20 62 69 | 74 6d 61 70 73 2f 73 63 |s/up1 bi|tmaps/sc|
|00001a50| 72 6c 67 72 61 79 20 62 | 69 74 6d 61 70 73 2f 67 |rlgray b|itmaps/g|
|00001a60| 72 61 79 35 30 20 5c 0a | 09 20 20 62 69 74 6d 61 |ray50 \.|. bitma|
|00001a70| 70 73 2f 67 72 61 79 32 | 35 20 62 69 74 6d 61 70 |ps/gray2|5 bitmap|
|00001a80| 73 2f 69 5f 66 69 66 6f | 20 62 69 74 6d 61 70 73 |s/i_fifo| bitmaps|
|00001a90| 2f 69 5f 63 68 72 20 62 | 69 74 6d 61 70 73 2f 69 |/i_chr b|itmaps/i|
|00001aa0| 5f 64 69 72 20 5c 0a 09 | 20 20 62 69 74 6d 61 70 |_dir \..| bitmap|
|00001ab0| 73 2f 69 5f 62 6c 6b 20 | 62 69 74 6d 61 70 73 2f |s/i_blk |bitmaps/|
|00001ac0| 69 5f 6c 6e 6b 20 62 69 | 74 6d 61 70 73 2f 69 5f |i_lnk bi|tmaps/i_|
|00001ad0| 73 6f 63 6b 20 62 69 74 | 6d 61 70 73 2f 69 5f 72 |sock bit|maps/i_r|
|00001ae0| 65 67 20 5c 0a 09 20 20 | 62 69 74 6d 61 70 73 2f |eg \.. |bitmaps/|
|00001af0| 72 62 5f 6f 66 66 20 62 | 69 74 6d 61 70 73 2f 72 |rb_off b|itmaps/r|
|00001b00| 62 5f 6f 6e 20 62 69 74 | 6d 61 70 73 2f 72 62 5f |b_on bit|maps/rb_|
|00001b10| 6f 66 66 31 20 62 69 74 | 6d 61 70 73 2f 72 62 5f |off1 bit|maps/rb_|
|00001b20| 6f 6e 31 20 5c 0a 09 20 | 20 62 69 74 6d 61 70 73 |on1 \.. | bitmaps|
|00001b30| 2f 66 63 5f 6c 65 66 74 | 20 62 69 74 6d 61 70 73 |/fc_left| bitmaps|
|00001b40| 2f 66 63 5f 6c 65 66 74 | 6d 20 62 69 74 6d 61 70 |/fc_left|m bitmap|
|00001b50| 73 2f 66 63 5f 6d 69 64 | 20 62 69 74 6d 61 70 73 |s/fc_mid| bitmaps|
|00001b60| 2f 66 63 5f 6d 69 64 6d | 20 5c 0a 09 20 20 62 69 |/fc_midm| \.. bi|
|00001b70| 74 6d 61 70 73 2f 66 63 | 5f 72 69 67 68 74 20 62 |tmaps/fc|_right b|
|00001b80| 69 74 6d 61 70 73 2f 66 | 63 5f 72 69 67 68 74 6d |itmaps/f|c_rightm|
|00001b90| 20 62 69 74 6d 61 70 73 | 2f 66 63 5f 6c 65 66 74 | bitmaps|/fc_left|
|00001ba0| 31 20 5c 0a 09 20 20 62 | 69 74 6d 61 70 73 2f 66 |1 \.. b|itmaps/f|
|00001bb0| 63 5f 6c 65 66 74 31 6d | 20 62 69 74 6d 61 70 73 |c_left1m| bitmaps|
|00001bc0| 2f 66 63 5f 72 69 67 68 | 74 31 20 62 69 74 6d 61 |/fc_righ|t1 bitma|
|00001bd0| 70 73 2f 66 63 5f 72 69 | 67 68 74 31 6d 20 5c 0a |ps/fc_ri|ght1m \.|
|00001be0| 09 20 20 62 69 74 6d 61 | 70 73 2f 69 63 6f 6e 20 |. bitma|ps/icon |
|00001bf0| 62 69 74 6d 61 70 73 2f | 64 69 61 6c 5f 63 77 31 |bitmaps/|dial_cw1|
|00001c00| 20 62 69 74 6d 61 70 73 | 2f 64 69 61 6c 5f 63 77 | bitmaps|/dial_cw|
|00001c10| 32 20 62 69 74 6d 61 70 | 73 2f 64 69 61 6c 5f 63 |2 bitmap|s/dial_c|
|00001c20| 63 77 31 20 5c 0a 09 20 | 20 62 69 74 6d 61 70 73 |cw1 \.. | bitmaps|
|00001c30| 2f 64 69 61 6c 5f 63 63 | 77 32 20 62 69 74 6d 61 |/dial_cc|w2 bitma|
|00001c40| 70 73 2f 69 63 6f 6e 6d | 61 73 6b 20 62 69 74 6d |ps/iconm|ask bitm|
|00001c50| 61 70 73 2f 67 66 31 5f | 61 64 64 68 20 5c 0a 09 |aps/gf1_|addh \..|
|00001c60| 20 20 62 69 74 6d 61 70 | 73 2f 67 66 31 5f 64 65 | bitmap|s/gf1_de|
|00001c70| 6c 68 20 62 69 74 6d 61 | 70 73 2f 67 66 31 5f 6c |lh bitma|ps/gf1_l|
|00001c80| 69 6e 65 20 62 69 74 6d | 61 70 73 2f 67 66 31 5f |ine bitm|aps/gf1_|
|00001c90| 72 73 74 20 5c 0a 09 20 | 20 62 69 74 6d 61 70 73 |rst \.. | bitmaps|
|00001ca0| 2f 67 66 31 5f 73 70 6c | 6e 20 62 69 74 6d 61 70 |/gf1_spl|n bitmap|
|00001cb0| 73 2f 67 66 31 5f 67 61 | 6d 6d 61 20 5c 0a 09 20 |s/gf1_ga|mma \.. |
|00001cc0| 20 62 69 74 6d 61 70 73 | 2f 68 5f 72 6f 74 6c 20 | bitmaps|/h_rotl |
|00001cd0| 62 69 74 6d 61 70 73 2f | 68 5f 72 6f 74 72 20 62 |bitmaps/|h_rotr b|
|00001ce0| 69 74 6d 61 70 73 2f 68 | 5f 73 69 6e 63 20 62 69 |itmaps/h|_sinc bi|
|00001cf0| 74 6d 61 70 73 2f 68 5f | 73 64 65 63 20 5c 0a 09 |tmaps/h_|sdec \..|
|00001d00| 20 20 62 69 74 6d 61 70 | 73 2f 68 5f 66 6c 69 70 | bitmap|s/h_flip|
|00001d10| 20 62 69 74 6d 61 70 73 | 2f 63 62 5f 6f 66 66 20 | bitmaps|/cb_off |
|00001d20| 62 69 74 6d 61 70 73 2f | 63 62 5f 6f 6e 20 62 69 |bitmaps/|cb_on bi|
|00001d30| 74 6d 61 70 73 2f 63 62 | 5f 6f 66 66 31 20 5c 0a |tmaps/cb|_off1 \.|
|00001d40| 09 20 20 62 69 74 6d 61 | 70 73 2f 63 62 5f 6f 6e |. bitma|ps/cb_on|
|00001d50| 31 20 62 69 74 6d 61 70 | 73 2f 68 5f 73 61 74 20 |1 bitmap|s/h_sat |
|00001d60| 62 69 74 6d 61 70 73 2f | 68 5f 64 65 73 61 74 20 |bitmaps/|h_desat |
|00001d70| 62 69 74 6d 61 70 73 2f | 72 6f 6f 74 5f 77 65 61 |bitmaps/|root_wea|
|00001d80| 76 65 20 5c 0a 20 20 20 | 20 20 20 20 20 20 20 62 |ve \. | b|
|00001d90| 69 74 6d 61 70 73 2f 63 | 62 6f 61 72 64 35 30 20 |itmaps/c|board50 |
|00001da0| 62 69 74 6d 61 70 73 2f | 6d 62 5f 63 68 6b 20 62 |bitmaps/|mb_chk b|
|00001db0| 69 74 6d 61 70 73 2f 66 | 6c 69 70 68 20 62 69 74 |itmaps/f|liph bit|
|00001dc0| 6d 61 70 73 2f 66 6c 69 | 70 76 0a 0a 4f 42 4a 53 |maps/fli|pv..OBJS|
|00001dd0| 20 3d 20 09 78 76 2e 6f | 20 78 76 65 76 65 6e 74 | = .xv.o| xvevent|
|00001de0| 2e 6f 20 78 76 72 6f 6f | 74 2e 6f 20 78 76 6d 69 |.o xvroo|t.o xvmi|
|00001df0| 73 63 2e 6f 20 78 76 69 | 6d 61 67 65 2e 6f 20 78 |sc.o xvi|mage.o x|
|00001e00| 76 63 6f 6c 6f 72 2e 6f | 20 78 76 73 6d 6f 6f 74 |vcolor.o| xvsmoot|
|00001e10| 68 2e 6f 20 5c 0a 09 78 | 76 32 34 74 6f 38 2e 6f |h.o \..x|v24to8.o|
|00001e20| 20 78 76 67 69 66 2e 6f | 20 78 76 70 6d 2e 6f 20 | xvgif.o| xvpm.o |
|00001e30| 78 76 69 6e 66 6f 2e 6f | 20 78 76 63 74 72 6c 2e |xvinfo.o| xvctrl.|
|00001e40| 6f 20 78 76 73 63 72 6c | 2e 6f 20 5c 0a 09 78 76 |o xvscrl|.o \..xv|
|00001e50| 67 69 66 77 72 2e 6f 20 | 78 76 64 69 72 2e 6f 20 |gifwr.o |xvdir.o |
|00001e60| 78 76 62 75 74 74 2e 6f | 20 78 76 70 62 6d 2e 6f |xvbutt.o| xvpbm.o|
|00001e70| 20 78 76 78 62 6d 2e 6f | 20 78 76 67 61 6d 2e 6f | xvxbm.o| xvgam.o|
|00001e80| 20 5c 0a 09 78 76 64 69 | 61 6c 2e 6f 20 78 76 67 | \..xvdi|al.o xvg|
|00001e90| 72 61 66 2e 6f 20 78 76 | 73 75 6e 72 61 73 2e 6f |raf.o xv|sunras.o|
|00001ea0| 20 78 76 6a 70 65 67 2e | 6f 20 78 76 70 73 2e 6f | xvjpeg.|o xvps.o|
|00001eb0| 20 78 76 70 6f 70 75 70 | 2e 6f 20 78 76 64 66 6c | xvpopup|.o xvdfl|
|00001ec0| 74 2e 6f 20 5c 0a 09 78 | 76 74 69 66 66 2e 6f 20 |t.o \..x|vtiff.o |
|00001ed0| 78 76 74 69 66 66 77 72 | 2e 6f 20 78 76 70 64 73 |xvtiffwr|.o xvpds|
|00001ee0| 2e 6f 20 78 76 72 6c 65 | 2e 6f 20 78 76 67 72 61 |.o xvrle|.o xvgra|
|00001ef0| 62 2e 6f 20 76 70 72 69 | 6e 74 66 2e 6f 20 66 73 |b.o vpri|ntf.o fs|
|00001f00| 51 75 69 63 6b 2e 6f 20 | 0a 0a 4d 49 53 43 20 3d |Quick.o |..MISC =|
|00001f10| 20 52 45 41 44 4d 45 20 | 43 48 41 4e 47 45 4c 4f | README |CHANGELO|
|00001f20| 47 20 49 44 45 41 53 0a | 0a 2e 63 2e 6f 3a 09 3b |G IDEAS.|..c.o:.;|
|00001f30| 20 24 28 43 43 29 20 2d | 63 20 24 28 43 46 4c 41 | $(CC) -|c $(CFLA|
|00001f40| 47 53 29 20 2d 6f 20 24 | 40 20 24 2a 2e 63 0a 0a |GS) -o $|@ $*.c..|
|00001f50| 61 6c 6c 3a 20 24 28 4c | 49 42 4a 50 45 47 29 20 |all: $(L|IBJPEG) |
|00001f60| 24 28 4c 49 42 54 49 46 | 46 29 20 78 76 20 62 67 |$(LIBTIF|F) xv bg|
|00001f70| 67 65 6e 20 76 64 63 6f | 6d 70 0a 0a 78 76 3a 20 |gen vdco|mp..xv: |
|00001f80| 24 28 4f 42 4a 53 29 20 | 24 28 4c 49 42 4a 50 45 |$(OBJS) |$(LIBJPE|
|00001f90| 47 29 20 24 28 4c 49 42 | 54 49 46 46 29 0a 09 24 |G) $(LIB|TIFF)..$|
|00001fa0| 28 43 43 29 20 24 28 43 | 46 4c 41 47 53 29 20 2d |(CC) $(C|FLAGS) -|
|00001fb0| 6f 20 78 76 20 24 28 4f | 42 4a 53 29 20 24 28 4c |o xv $(O|BJS) $(L|
|00001fc0| 49 42 53 29 0a 0a 62 67 | 67 65 6e 3a 20 62 67 67 |IBS)..bg|gen: bgg|
|00001fd0| 65 6e 2e 63 0a 09 24 28 | 43 43 29 20 24 28 43 46 |en.c..$(|CC) $(CF|
|00001fe0| 4c 41 47 53 29 20 2d 6f | 20 62 67 67 65 6e 20 62 |LAGS) -o| bggen b|
|00001ff0| 67 67 65 6e 2e 63 0a 0a | 76 64 63 6f 6d 70 3a 20 |ggen.c..|vdcomp: |
|00002000| 76 64 63 6f 6d 70 2e 63 | 0a 09 24 28 43 43 29 20 |vdcomp.c|..$(CC) |
|00002010| 24 28 43 46 4c 41 47 53 | 29 20 2d 6f 20 76 64 63 |$(CFLAGS|) -o vdc|
|00002020| 6f 6d 70 20 76 64 63 6f | 6d 70 2e 63 0a 09 0a 63 |omp vdco|mp.c...c|
|00002030| 6c 65 61 6e 3a 0a 09 72 | 6d 20 2d 66 20 24 28 4f |lean:..r|m -f $(O|
|00002040| 42 4a 53 29 20 78 76 20 | 62 67 67 65 6e 20 76 64 |BJS) xv |bggen vd|
|00002050| 63 6f 6d 70 20 0a 23 20 | 63 6f 6d 6d 65 6e 74 20 |comp .# |comment |
|00002060| 6f 75 74 20 6f 6e 65 20 | 6f 72 20 62 6f 74 68 20 |out one |or both |
|00002070| 6f 66 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |of the f|ollowing|
|00002080| 20 69 66 20 79 6f 75 20 | 61 72 65 6e 27 74 20 75 | if you |aren't u|
|00002090| 73 69 6e 67 20 74 68 65 | 20 4a 50 45 47 20 61 6e |sing the| JPEG an|
|000020a0| 64 0a 23 20 54 49 46 46 | 20 6c 69 62 72 61 72 69 |d.# TIFF| librari|
|000020b0| 65 73 0a 09 28 20 63 64 | 20 24 28 4a 50 45 47 44 |es..( cd| $(JPEGD|
|000020c0| 49 52 29 20 3b 20 6d 61 | 6b 65 20 63 6c 65 61 6e |IR) ; ma|ke clean|
|000020d0| 20 29 0a 09 28 20 63 64 | 20 24 28 54 49 46 46 44 | )..( cd| $(TIFFD|
|000020e0| 49 52 29 20 3b 20 6d 61 | 6b 65 20 63 6c 65 61 6e |IR) ; ma|ke clean|
|000020f0| 20 29 0a 0a 0a 74 61 72 | 3a 0a 09 74 61 72 20 63 | )...tar|:..tar c|
|00002100| 66 20 78 76 2e 74 61 72 | 20 4d 61 6b 65 66 69 6c |f xv.tar| Makefil|
|00002110| 65 2a 20 49 6d 61 6b 65 | 66 69 6c 65 20 2a 2e 63 |e* Imake|file *.c|
|00002120| 20 2a 2e 68 20 62 69 74 | 6d 61 70 73 20 5c 0a 09 | *.h bit|maps \..|
|00002130| 09 64 6f 63 73 20 75 6e | 73 75 70 74 20 24 28 4a |.docs un|supt $(J|
|00002140| 50 45 47 44 49 52 29 20 | 24 28 54 49 46 46 44 49 |PEGDIR) |$(TIFFDI|
|00002150| 52 29 20 24 28 4d 49 53 | 43 29 0a 0a 24 28 4f 42 |R) $(MIS|C)..$(OB|
|00002160| 4a 53 29 3a 20 20 20 78 | 76 2e 68 0a 78 76 2e 6f |JS): x|v.h.xv.o|
|00002170| 3a 20 20 20 20 20 20 62 | 69 74 6d 61 70 73 2e 68 |: b|itmaps.h|
|00002180| 0a 78 76 62 75 74 74 2e | 6f 3a 20 20 62 69 74 6d |.xvbutt.|o: bitm|
|00002190| 61 70 73 2e 68 0a 78 76 | 63 74 72 6c 2e 6f 3a 20 |aps.h.xv|ctrl.o: |
|000021a0| 20 62 69 74 6d 61 70 73 | 2e 68 0a 78 76 64 69 61 | bitmaps|.h.xvdia|
|000021b0| 6c 2e 6f 3a 20 20 62 69 | 74 6d 61 70 73 2e 68 0a |l.o: bi|tmaps.h.|
|000021c0| 78 76 69 6e 66 6f 2e 6f | 3a 20 20 62 69 74 6d 61 |xvinfo.o|: bitma|
|000021d0| 70 73 2e 68 0a 78 76 6d | 69 73 63 2e 6f 3a 20 20 |ps.h.xvm|isc.o: |
|000021e0| 62 69 74 6d 61 70 73 2e | 68 0a 78 76 73 63 72 6c |bitmaps.|h.xvscrl|
|000021f0| 2e 6f 3a 20 20 62 69 74 | 6d 61 70 73 2e 68 0a 78 |.o: bit|maps.h.x|
|00002200| 76 67 72 61 66 2e 6f 3a | 20 20 62 69 74 6d 61 70 |vgraf.o:| bitmap|
|00002210| 73 2e 68 0a 0a 78 76 64 | 66 6c 74 2e 6f 3a 20 20 |s.h..xvd|flt.o: |
|00002220| 62 69 74 6d 61 70 73 2f | 78 76 70 69 63 5f 6c 6f |bitmaps/|xvpic_lo|
|00002230| 67 6f 20 62 69 74 6d 61 | 70 73 2f 78 76 70 69 63 |go bitma|ps/xvpic|
|00002240| 5f 72 65 76 20 62 69 74 | 6d 61 70 73 2f 78 76 70 |_rev bit|maps/xvp|
|00002250| 69 63 5f 6a 68 62 0a 78 | 76 64 66 6c 74 2e 6f 3a |ic_jhb.x|vdflt.o:|
|00002260| 20 20 62 69 74 6d 61 70 | 73 2f 78 66 5f 6c 65 66 | bitmap|s/xf_lef|
|00002270| 74 20 62 69 74 6d 61 70 | 73 2f 78 66 5f 72 69 67 |t bitmap|s/xf_rig|
|00002280| 68 74 0a 0a 0a 62 69 74 | 6d 61 70 73 2e 68 3a 20 |ht...bit|maps.h: |
|00002290| 24 28 42 49 54 4d 41 50 | 53 29 0a 09 63 61 74 20 |$(BITMAP|S)..cat |
|000022a0| 24 28 42 49 54 4d 41 50 | 53 29 20 3e 20 62 69 74 |$(BITMAP|S) > bit|
|000022b0| 6d 61 70 73 2e 68 0a 0a | 0a 0a 0a 23 20 69 66 2c |maps.h..|...# if,|
|000022c0| 20 66 6f 72 20 77 68 61 | 74 65 76 65 72 20 72 65 | for wha|tever re|
|000022d0| 61 73 6f 6e 2c 20 79 6f | 75 27 72 65 20 75 6e 61 |ason, yo|u're una|
|000022e0| 62 6c 65 20 74 6f 20 67 | 65 74 20 74 68 65 20 4a |ble to g|et the J|
|000022f0| 50 45 47 20 6c 69 62 72 | 61 72 79 20 74 6f 20 63 |PEG libr|ary to c|
|00002300| 6f 6d 70 69 6c 65 0a 23 | 20 6f 6e 20 79 6f 75 72 |ompile.#| on your|
|00002310| 20 6d 61 63 68 69 6e 65 | 2c 20 2a 43 4f 4d 4d 45 | machine|, *COMME|
|00002320| 4e 54 20 4f 55 54 2a 20 | 74 68 65 20 66 6f 6c 6c |NT OUT* |the foll|
|00002330| 6f 77 69 6e 67 20 6c 69 | 6e 65 73 0a 23 0a 24 28 |owing li|nes.#.$(|
|00002340| 4c 49 42 4a 50 45 47 29 | 3a 0a 09 28 20 63 64 20 |LIBJPEG)|:..( cd |
|00002350| 24 28 4a 50 45 47 44 49 | 52 29 20 3b 20 6d 61 6b |$(JPEGDI|R) ; mak|
|00002360| 65 20 43 43 3d 27 24 28 | 43 43 29 27 20 6c 69 62 |e CC='$(|CC)' lib|
|00002370| 6a 70 65 67 2e 61 20 29 | 0a 0a 23 20 69 66 2c 20 |jpeg.a )|..# if, |
|00002380| 66 6f 72 20 77 68 61 74 | 65 76 65 72 20 72 65 61 |for what|ever rea|
|00002390| 73 6f 6e 2c 20 79 6f 75 | 27 72 65 20 75 6e 61 62 |son, you|'re unab|
|000023a0| 6c 65 20 74 6f 20 67 65 | 74 20 74 68 65 20 54 49 |le to ge|t the TI|
|000023b0| 46 46 20 6c 69 62 72 61 | 72 79 20 74 6f 20 63 6f |FF libra|ry to co|
|000023c0| 6d 70 69 6c 65 0a 23 20 | 6f 6e 20 79 6f 75 72 20 |mpile.# |on your |
|000023d0| 6d 61 63 68 69 6e 65 2c | 20 2a 43 4f 4d 4d 45 4e |machine,| *COMMEN|
|000023e0| 54 20 4f 55 54 2a 20 74 | 68 65 20 66 6f 6c 6c 6f |T OUT* t|he follo|
|000023f0| 77 69 6e 67 20 6c 69 6e | 65 73 0a 23 0a 24 28 4c |wing lin|es.#.$(L|
|00002400| 49 42 54 49 46 46 29 3a | 0a 09 28 20 63 64 20 24 |IBTIFF):|..( cd $|
|00002410| 28 54 49 46 46 44 49 52 | 29 20 3b 20 6d 61 6b 65 |(TIFFDIR|) ; make|
|00002420| 20 43 43 3d 27 24 28 43 | 43 29 27 29 0a 0a 2f 6c | CC='$(C|C)')../l|
|00002430| 69 62 74 69 66 66 2e 61 | 0a 54 49 46 46 49 4e 43 |ibtiff.a|.TIFFINC|
|00002440| 4c 55 44 45 20 3d 20 2d | 49 24 28 54 49 46 46 44 |LUDE = -|I$(TIFFD|
|00002450| 49 52 29 0a 0a 0a 23 20 | 69 66 2c 20 66 6f 72 20 |IR)...# |if, for |
|00002460| 77 68 61 74 65 76 65 72 | 20 72 65 61 73 6f 6e 2c |whatever| reason,|
|00002470| 20 79 6f 75 27 72 65 20 | 75 6e 61 62 6c 65 20 74 | you're |unable t|
|00002480| 6f 20 67 65 74 20 74 68 | 65 20 50 44 53 2f 56 49 |o get th|e PDS/VI|
|00002490| 43 41 52 20 73 75 70 70 | 6f 72 74 0a 23 20 74 6f |CAR supp|ort.# to|
|000024a0| 20 63 6f 6d 70 69 6c 65 | 20 28 78 76 70 64 73 2e | compile| (xvpds.|
|000024b0| 63 2c 20 61 6e 64 20 76 | 64 63 6f 6d 70 2e 63 29 |c, and v|dcomp.c)|
|000024c0| 2c 20 2a 43 4f 4d 4d 45 | 4e 54 20 4f 55 54 2a 20 |, *COMME|NT OUT* |
|000024d0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 6c 69 |the foll|owing li|
|000024e0| 6e 65 2c 0a 23 20 61 6e | 64 20 61 6c 73 6f 20 72 |ne,.# an|d also r|
|000024f0| 65 6d 6f 76 65 20 27 76 | 64 63 6f 6d 70 27 20 66 |emove 'v|dcomp' f|
|00002500| 72 6f 6d 20 74 68 65 20 | 27 61 6c 6c 3a 27 20 64 |rom the |'all:' d|
|00002510| 65 70 65 6e 64 61 6e 63 | 79 20 0a 50 44 53 20 3d |ependanc|y .PDS =|
|00002520| 20 2d 44 48 41 56 45 5f | 50 44 53 0a 0a 0a 23 20 | -DHAVE_|PDS...# |
|00002530| 69 66 2c 20 66 6f 72 20 | 77 68 61 74 65 76 65 72 |if, for |whatever|
|00002540| 20 72 65 61 73 6f 6e 2c | 20 79 6f 75 20 64 6f 6e | reason,| you don|
|00002550| 27 74 20 77 69 73 68 20 | 74 6f 20 75 73 65 20 74 |'t wish |to use t|
|00002560| 68 65 20 66 73 51 75 69 | 63 6b 20 73 6f 66 74 77 |he fsQui|ck softw|
|00002570| 61 72 65 0a 23 20 28 77 | 68 69 63 68 20 63 75 72 |are.# (w|hich cur|
|00002580| 72 65 6e 74 6c 79 20 6f | 6e 6c 79 20 61 66 66 65 |rently o|nly affe|
|00002590| 63 74 73 20 78 76 27 73 | 20 70 65 72 66 6f 72 6d |cts xv's| perform|
|000025a0| 61 6e 63 65 20 6f 6e 20 | 61 20 31 2d 62 69 74 20 |ance on |a 1-bit |
|000025b0| 64 69 73 70 6c 61 79 29 | 0a 23 20 79 6f 75 20 73 |display)|.# you s|
|000025c0| 68 6f 75 6c 64 20 63 6f | 6d 6d 65 6e 74 20 6f 75 |hould co|mment ou|
|000025d0| 74 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |t the fo|llowing |
|000025e0| 6c 69 6e 65 0a 23 20 28 | 66 73 51 75 69 63 6b 2e |line.# (|fsQuick.|
|000025f0| 63 20 63 6f 6e 74 61 69 | 6e 73 20 73 6f 6d 65 20 |c contai|ns some |
|00002600| 78 76 2d 32 2e 32 31 2f | 4d 61 6b 65 66 69 6c 65 |xv-2.21/|Makefile|
|00002610| 2e 73 74 64 00 00 00 00 | 00 00 00 00 00 00 00 00 |.std....|........|
|00002620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002660| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 32 31 |.... 6|44 . 21|
|00002670| 35 33 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 |53 . | 0 . |
|00002680| 20 20 32 30 30 35 36 20 | 20 35 31 37 37 35 37 35 | 20056 | 5177575|
|00002690| 34 35 35 20 20 20 37 34 | 31 35 00 20 00 00 00 00 |455 74|15. ....|
|000026a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002800| 23 20 4d 61 6b 65 66 69 | 6c 65 20 66 6f 72 20 78 |# Makefi|le for x|
|00002810| 76 0a 0a 0a 23 20 79 6f | 75 72 20 43 20 63 6f 6d |v...# yo|ur C com|
|00002820| 70 69 6c 65 72 20 28 61 | 6e 64 20 6f 70 74 69 6f |piler (a|nd optio|
|00002830| 6e 73 29 20 6f 66 20 63 | 68 6f 69 63 65 0a 23 0a |ns) of c|hoice.#.|
|00002840| 23 20 69 66 20 63 6f 6d | 70 69 6c 69 6e 67 20 6f |# if com|piling o|
|00002850| 6e 20 61 20 4d 69 70 73 | 20 6d 61 63 68 69 6e 65 |n a Mips| machine|
|00002860| 2c 20 74 72 79 20 74 68 | 69 73 3a 20 0a 23 20 20 |, try th|is: .# |
|00002870| 20 20 43 43 4f 50 54 53 | 20 3d 20 2d 4f 6c 69 6d | CCOPTS| = -Olim|
|00002880| 69 74 20 36 30 30 20 2d | 73 79 73 74 79 70 65 20 |it 600 -|systype |
|00002890| 62 73 64 34 33 0a 0a 23 | 20 69 66 20 79 6f 75 20 |bsd43..#| if you |
|000028a0| 77 61 6e 74 20 74 6f 20 | 75 73 65 20 67 63 63 2c |want to |use gcc,|
|000028b0| 20 75 73 65 20 74 68 69 | 73 20 6c 69 6e 65 2c 20 | use thi|s line, |
|000028c0| 6f 72 20 73 6f 6d 65 74 | 68 69 6e 67 20 6c 69 6b |or somet|hing lik|
|000028d0| 65 20 69 74 2e 0a 23 20 | 43 43 20 3d 20 67 63 63 |e it..# |CC = gcc|
|000028e0| 20 2d 67 20 2d 74 72 61 | 64 69 74 69 6f 6e 61 6c | -g -tra|ditional|
|000028f0| 0a 43 43 20 3d 20 63 63 | 0a 0a 43 43 4f 50 54 53 |.CC = cc|..CCOPTS|
|00002900| 20 3d 20 2d 4f 0a 0a 23 | 20 69 66 20 79 6f 75 27 | = -O..#| if you'|
|00002910| 72 65 20 75 73 69 6e 67 | 20 61 20 53 75 6e 20 72 |re using| a Sun r|
|00002920| 75 6e 6e 69 6e 67 20 4f | 70 65 6e 57 69 6e 64 6f |unning O|penWindo|
|00002930| 77 73 2c 20 79 6f 75 20 | 6d 61 79 20 77 61 6e 74 |ws, you |may want|
|00002940| 20 74 6f 20 61 64 64 20 | 74 68 65 73 65 20 74 77 | to add |these tw|
|00002950| 6f 0a 23 20 6f 70 74 69 | 6f 6e 73 20 74 6f 20 74 |o.# opti|ons to t|
|00002960| 68 65 20 43 43 4f 50 54 | 53 20 6c 69 6e 65 2c 20 |he CCOPT|S line, |
|00002970| 73 6f 20 69 74 20 66 69 | 6e 64 73 20 74 68 65 20 |so it fi|nds the |
|00002980| 6c 69 62 73 20 61 6e 64 | 20 69 6e 63 6c 75 64 65 |libs and| include|
|00002990| 20 66 69 6c 65 73 0a 23 | 20 20 20 2d 4c 2f 75 73 | files.#| -L/us|
|000029a0| 72 2f 6f 70 65 6e 77 69 | 6e 2f 6c 69 62 20 2d 49 |r/openwi|n/lib -I|
|000029b0| 2f 75 73 72 2f 6f 70 65 | 6e 77 69 6e 2f 69 6e 63 |/usr/ope|nwin/inc|
|000029c0| 6c 75 64 65 0a 0a 0a 0a | 23 23 23 23 23 23 23 23 |lude....|########|
|000029d0| 23 23 23 23 23 23 23 23 | 20 43 4f 4e 46 49 47 55 |########| CONFIGU|
|000029e0| 52 41 54 49 4f 4e 20 4f | 50 54 49 4f 4e 53 20 23 |RATION O|PTIONS #|
|000029f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002a00| 0a 0a 23 20 69 66 2c 20 | 66 6f 72 20 77 68 61 74 |..# if, |for what|
|00002a10| 65 76 65 72 20 72 65 61 | 73 6f 6e 2c 20 79 6f 75 |ever rea|son, you|
|00002a20| 27 72 65 20 75 6e 61 62 | 6c 65 20 74 6f 20 67 65 |'re unab|le to ge|
|00002a30| 74 20 74 68 65 20 4a 50 | 45 47 20 6c 69 62 72 61 |t the JP|EG libra|
|00002a40| 72 79 20 74 6f 20 63 6f | 6d 70 69 6c 65 0a 23 20 |ry to co|mpile.# |
|00002a50| 6f 6e 20 79 6f 75 72 20 | 6d 61 63 68 69 6e 65 2c |on your |machine,|
|00002a60| 20 2a 43 4f 4d 4d 45 4e | 54 20 4f 55 54 2a 20 74 | *COMMEN|T OUT* t|
|00002a70| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6c 69 6e |he follo|wing lin|
|00002a80| 65 73 0a 23 0a 23 20 41 | 6c 73 6f 2c 20 63 6f 6d |es.#.# A|lso, com|
|00002a90| 6d 65 6e 74 20 6f 75 74 | 20 74 68 65 20 4c 49 42 |ment out| the LIB|
|00002aa0| 4a 50 45 47 20 64 65 70 | 65 6e 64 61 6e 63 79 20 |JPEG dep|endancy |
|00002ab0| 61 74 20 74 68 65 20 65 | 6e 64 20 6f 66 20 74 68 |at the e|nd of th|
|00002ac0| 69 73 20 4d 61 6b 65 66 | 69 6c 65 0a 23 0a 4a 50 |is Makef|ile.#.JP|
|00002ad0| 45 47 20 3d 20 2d 44 48 | 41 56 45 5f 4a 50 45 47 |EG = -DH|AVE_JPEG|
|00002ae0| 0a 4a 50 45 47 44 49 52 | 20 3d 20 6a 70 65 67 0a |.JPEGDIR| = jpeg.|
|00002af0| 4c 49 42 4a 50 45 47 20 | 3d 20 24 28 4a 50 45 47 |LIBJPEG |= $(JPEG|
|00002b00| 44 49 52 29 2f 6c 69 62 | 6a 70 65 67 2e 61 0a 4a |DIR)/lib|jpeg.a.J|
|00002b10| 50 45 47 49 4e 43 4c 55 | 44 45 20 3d 20 2d 49 24 |PEGINCLU|DE = -I$|
|00002b20| 28 4a 50 45 47 44 49 52 | 29 0a 0a 0a 23 20 69 66 |(JPEGDIR|)...# if|
|00002b30| 2c 20 66 6f 72 20 77 68 | 61 74 65 76 65 72 20 72 |, for wh|atever r|
|00002b40| 65 61 73 6f 6e 2c 20 79 | 6f 75 27 72 65 20 75 6e |eason, y|ou're un|
|00002b50| 61 62 6c 65 20 74 6f 20 | 67 65 74 20 74 68 65 20 |able to |get the |
|00002b60| 54 49 46 46 20 6c 69 62 | 72 61 72 79 20 74 6f 20 |TIFF lib|rary to |
|00002b70| 63 6f 6d 70 69 6c 65 0a | 23 20 6f 6e 20 79 6f 75 |compile.|# on you|
|00002b80| 72 20 6d 61 63 68 69 6e | 65 2c 20 2a 43 4f 4d 4d |r machin|e, *COMM|
|00002b90| 45 4e 54 20 4f 55 54 2a | 20 74 68 65 20 66 6f 6c |ENT OUT*| the fol|
|00002ba0| 6c 6f 77 69 6e 67 20 6c | 69 6e 65 73 0a 23 0a 23 |lowing l|ines.#.#|
|00002bb0| 20 41 6c 73 6f 2c 20 63 | 6f 6d 6d 65 6e 74 20 6f | Also, c|omment o|
|00002bc0| 75 74 20 74 68 65 20 4c | 49 42 4a 50 45 47 20 64 |ut the L|IBJPEG d|
|00002bd0| 65 70 65 6e 64 61 6e 63 | 79 20 61 74 20 74 68 65 |ependanc|y at the|
|00002be0| 20 65 6e 64 20 6f 66 20 | 74 68 69 73 20 4d 61 6b | end of |this Mak|
|00002bf0| 65 66 69 6c 65 0a 23 0a | 54 49 46 46 20 3d 20 2d |efile.#.|TIFF = -|
|00002c00| 44 48 41 56 45 5f 54 49 | 46 46 0a 54 49 46 46 44 |DHAVE_TI|FF.TIFFD|
|00002c10| 49 52 20 3d 20 74 69 66 | 66 0a 4c 49 42 54 49 46 |IR = tif|f.LIBTIF|
|00002c20| 46 20 3d 20 24 28 54 49 | 46 46 44 49 52 29 2f 6c |F = $(TI|FFDIR)/l|
|00002c30| 69 62 74 69 66 66 2e 61 | 0a 54 49 46 46 49 4e 43 |ibtiff.a|.TIFFINC|
|00002c40| 4c 55 44 45 20 3d 20 2d | 49 24 28 54 49 46 46 44 |LUDE = -|I$(TIFFD|
|00002c50| 49 52 29 0a 0a 0a 23 20 | 69 66 2c 20 66 6f 72 20 |IR)...# |if, for |
|00002c60| 77 68 61 74 65 76 65 72 | 20 72 65 61 73 6f 6e 2c |whatever| reason,|
|00002c70| 20 79 6f 75 27 72 65 20 | 75 6e 61 62 6c 65 20 74 | you're |unable t|
|00002c80| 6f 20 67 65 74 20 74 68 | 65 20 50 44 53 2f 56 49 |o get th|e PDS/VI|
|00002c90| 43 41 52 20 73 75 70 70 | 6f 72 74 0a 23 20 74 6f |CAR supp|ort.# to|
|00002ca0| 20 63 6f 6d 70 69 6c 65 | 20 28 78 76 70 64 73 2e | compile| (xvpds.|
|00002cb0| 63 2c 20 61 6e 64 20 76 | 64 63 6f 6d 70 2e 63 29 |c, and v|dcomp.c)|
|00002cc0| 2c 20 2a 43 4f 4d 4d 45 | 4e 54 20 4f 55 54 2a 20 |, *COMME|NT OUT* |
|00002cd0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 6c 69 |the foll|owing li|
|00002ce0| 6e 65 2c 0a 23 20 61 6e | 64 20 61 6c 73 6f 20 72 |ne,.# an|d also r|
|00002cf0| 65 6d 6f 76 65 20 27 76 | 64 63 6f 6d 70 27 20 66 |emove 'v|dcomp' f|
|00002d00| 72 6f 6d 20 74 68 65 20 | 27 61 6c 6c 3a 27 20 64 |rom the |'all:' d|
|00002d10| 65 70 65 6e 64 61 6e 63 | 79 20 0a 50 44 53 20 3d |ependanc|y .PDS =|
|00002d20| 20 2d 44 48 41 56 45 5f | 50 44 53 0a 0a 0a 23 20 | -DHAVE_|PDS...# |
|00002d30| 69 66 2c 20 66 6f 72 20 | 77 68 61 74 65 76 65 72 |if, for |whatever|
|00002d40| 20 72 65 61 73 6f 6e 2c | 20 79 6f 75 20 64 6f 6e | reason,| you don|
|00002d50| 27 74 20 77 69 73 68 20 | 74 6f 20 75 73 65 20 74 |'t wish |to use t|
|00002d60| 68 65 20 66 73 51 75 69 | 63 6b 20 73 6f 66 74 77 |he fsQui|ck softw|
|00002d70| 61 72 65 0a 23 20 28 77 | 68 69 63 68 20 63 75 72 |are.# (w|hich cur|
|00002d80| 72 65 6e 74 6c 79 20 6f | 6e 6c 79 20 61 66 66 65 |rently o|nly affe|
|00002d90| 63 74 73 20 78 76 27 73 | 20 70 65 72 66 6f 72 6d |cts xv's| perform|
|00002da0| 61 6e 63 65 20 6f 6e 20 | 61 20 31 2d 62 69 74 20 |ance on |a 1-bit |
|00002db0| 64 69 73 70 6c 61 79 29 | 0a 23 20 79 6f 75 20 73 |display)|.# you s|
|00002dc0| 68 6f 75 6c 64 20 63 6f | 6d 6d 65 6e 74 20 6f 75 |hould co|mment ou|
|00002dd0| 74 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |t the fo|llowing |
|00002de0| 6c 69 6e 65 0a 23 20 28 | 66 73 51 75 69 63 6b 2e |line.# (|fsQuick.|
|00002df0| 63 20 63 6f 6e 74 61 69 | 6e 73 20 73 6f 6d 65 20 |c contai|ns some |
|00002e00| 68 75 67 65 20 6d 61 63 | 72 6f 20 64 65 66 69 6e |huge mac|ro defin|
|00002e10| 69 74 69 6f 6e 73 20 77 | 68 69 63 68 20 63 6f 75 |itions w|hich cou|
|00002e20| 6c 64 20 62 72 65 61 6b | 20 79 6f 75 72 0a 23 20 |ld break| your.# |
|00002e30| 43 20 70 72 65 70 72 6f | 63 65 73 73 6f 72 2e 2e |C prepro|cessor..|
|00002e40| 2e 0a 46 53 51 55 49 43 | 4b 20 3d 20 2d 44 48 41 |..FSQUIC|K = -DHA|
|00002e50| 56 45 5f 46 53 51 55 49 | 43 4b 0a 0a 0a 23 20 69 |VE_FSQUI|CK...# i|
|00002e60| 66 20 79 6f 75 20 61 72 | 65 20 72 75 6e 6e 69 6e |f you ar|e runnin|
|00002e70| 67 20 75 6e 64 65 72 20 | 44 58 57 4d 2c 20 49 20 |g under |DXWM, I |
|00002e80| 70 69 74 79 20 79 6f 75 | 2e 20 20 58 56 20 64 6f |pity you|. XV do|
|00002e90| 65 73 6e 27 74 20 77 6f | 72 6b 20 63 6f 72 72 65 |esn't wo|rk corre|
|00002ea0| 63 74 6c 79 0a 23 20 75 | 6e 64 65 72 20 44 58 57 |ctly.# u|nder DXW|
|00002eb0| 4d 2e 20 20 59 6f 75 20 | 73 68 6f 75 6c 64 20 70 |M. You |should p|
|00002ec0| 72 6f 62 61 62 6c 79 20 | 62 65 20 72 75 6e 6e 69 |robably |be runni|
|00002ed0| 6e 67 20 4d 57 4d 2e 20 | 20 48 6f 77 65 76 65 72 |ng MWM. | However|
|00002ee0| 2c 20 69 66 20 73 75 63 | 68 20 69 73 0a 23 20 6e |, if suc|h is.# n|
|00002ef0| 6f 74 20 61 20 76 61 6c | 69 64 20 6f 70 74 69 6f |ot a val|id optio|
|00002f00| 6e 20 66 6f 72 20 79 6f | 75 2c 20 74 72 79 20 75 |n for yo|u, try u|
|00002f10| 6e 63 6f 6d 6d 65 6e 74 | 69 6e 67 20 74 68 65 20 |ncomment|ing the |
|00002f20| 66 6f 6c 6c 6f 77 69 6e | 67 20 6c 69 6e 65 2e 20 |followin|g line. |
|00002f30| 20 54 68 65 0a 23 20 62 | 65 68 61 76 69 6f 72 20 | The.# b|ehavior |
|00002f40| 77 6f 6e 27 74 20 62 65 | 20 27 72 69 67 68 74 27 |won't be| 'right'|
|00002f50| 2c 20 62 75 74 20 69 74 | 20 77 69 6c 6c 20 62 65 |, but it| will be|
|00002f60| 20 6c 65 73 73 20 27 77 | 72 6f 6e 67 27 2e 0a 23 | less 'w|rong'..#|
|00002f70| 44 58 57 4d 20 3d 20 2d | 44 44 58 57 4d 0a 0a 0a |DXWM = -|DDXWM...|
|00002f80| 23 20 69 66 20 79 6f 75 | 20 61 72 65 20 72 75 6e |# if you| are run|
|00002f90| 6e 69 6e 67 20 6f 6e 20 | 61 20 53 79 73 56 2d 62 |ning on |a SysV-b|
|00002fa0| 61 73 65 64 20 6d 61 63 | 68 69 6e 65 2c 20 73 75 |ased mac|hine, su|
|00002fb0| 63 68 20 61 73 20 48 50 | 2c 20 53 69 6c 69 63 6f |ch as HP|, Silico|
|00002fc0| 6e 20 47 72 61 70 68 69 | 63 73 2c 0a 23 20 65 74 |n Graphi|cs,.# et|
|00002fd0| 63 2c 20 75 6e 63 6f 6d | 6d 65 6e 74 20 74 68 65 |c, uncom|ment the|
|00002fe0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6c 69 6e 65 20 | followi|ng line |
|00002ff0| 74 6f 20 67 65 74 20 79 | 6f 75 20 6d 6f 73 74 20 |to get y|ou most |
|00003000| 6f 66 20 74 68 65 20 77 | 61 79 20 74 68 65 72 65 |of the w|ay there|
|00003010| 2e 20 20 0a 23 0a 23 55 | 4e 49 58 20 3d 20 2d 44 |. .#.#U|NIX = -D|
|00003020| 53 56 52 34 0a 0a 0a 23 | 20 49 66 20 79 6f 75 20 |SVR4...#| If you |
|00003030| 61 72 65 20 72 75 6e 6e | 69 6e 67 20 6f 6e 20 61 |are runn|ing on a|
|00003040| 20 50 4f 53 49 58 2d 63 | 6f 6d 70 61 74 69 62 6c | POSIX-c|ompatibl|
|00003050| 65 20 6d 61 63 68 69 6e | 65 2c 20 73 75 63 68 20 |e machin|e, such |
|00003060| 61 73 20 61 6e 0a 23 20 | 49 42 4d 20 52 53 2f 36 |as an.# |IBM RS/6|
|00003070| 30 30 30 2c 20 79 6f 75 | 20 4d 41 59 20 6e 65 65 |000, you| MAY nee|
|00003080| 64 20 74 6f 20 75 6e 63 | 6f 6d 6d 65 6e 74 20 74 |d to unc|omment t|
|00003090| 68 65 20 27 4e 45 45 44 | 5f 44 49 52 45 4e 54 27 |he 'NEED|_DIRENT'|
|000030a0| 20 6c 69 6e 65 2e 0a 23 | 20 54 6f 20 64 65 74 65 | line..#| To dete|
|000030b0| 72 6d 69 6e 65 20 69 66 | 20 73 75 63 68 20 69 73 |rmine if| such is|
|000030c0| 20 74 68 65 20 63 61 73 | 65 2c 20 64 6f 20 61 20 | the cas|e, do a |
|000030d0| 27 6d 61 6e 20 72 65 61 | 64 64 69 72 27 20 6f 6e |'man rea|ddir' on|
|000030e0| 20 79 6f 75 72 20 6d 61 | 63 68 69 6e 65 2e 20 20 | your ma|chine. |
|000030f0| 49 66 0a 23 20 72 65 61 | 64 64 69 72 28 29 20 72 |If.# rea|ddir() r|
|00003100| 65 74 75 72 6e 73 20 61 | 20 70 6f 69 6e 74 65 72 |eturns a| pointer|
|00003110| 20 74 6f 20 27 73 74 72 | 75 63 74 20 64 69 72 65 | to 'str|uct dire|
|00003120| 63 74 27 2c 20 79 6f 75 | 20 77 69 6c 6c 20 6e 6f |ct', you| will no|
|00003130| 74 20 68 61 76 65 0a 23 | 20 74 6f 20 63 68 61 6e |t have.#| to chan|
|00003140| 67 65 20 61 6e 79 74 68 | 69 6e 67 2e 20 20 49 66 |ge anyth|ing. If|
|00003150| 2c 20 68 6f 77 65 76 65 | 72 2c 20 72 65 61 64 64 |, howeve|r, readd|
|00003160| 69 72 28 29 20 72 65 74 | 75 72 6e 73 20 61 20 70 |ir() ret|urns a p|
|00003170| 6f 69 6e 74 65 72 20 74 | 6f 0a 23 20 27 73 74 72 |ointer t|o.# 'str|
|00003180| 75 63 74 20 64 69 72 65 | 6e 74 27 2c 20 79 6f 75 |uct dire|nt', you|
|00003190| 20 77 69 6c 6c 20 68 61 | 76 65 20 74 6f 20 61 64 | will ha|ve to ad|
|000031a0| 64 20 74 68 65 20 27 2d | 44 44 49 52 45 4e 54 27 |d the '-|DDIRENT'|
|000031b0| 20 74 6f 20 43 46 4c 41 | 47 53 0a 23 0a 23 20 4f | to CFLA|GS.#.# O|
|000031c0| 6e 65 20 6e 6f 74 65 3a | 20 66 6f 6c 6b 73 20 75 |ne note:| folks u|
|000031d0| 73 69 6e 67 20 61 6e 20 | 49 42 4d 20 52 53 2f 36 |sing an |IBM RS/6|
|000031e0| 30 30 30 20 64 6f 6e 27 | 74 20 68 61 76 65 20 74 |000 don'|t have t|
|000031f0| 6f 20 74 6f 75 63 68 20 | 74 68 69 73 20 6c 69 6e |o touch |this lin|
|00003200| 65 2e 20 20 0a 23 20 20 | 20 20 20 20 20 20 20 20 |e. .# | |
|00003210| 20 49 20 63 68 65 63 6b | 20 66 6f 72 20 27 36 30 | I check| for '60|
|00003220| 30 30 27 2d 68 6f 6f 64 | 20 69 6e 20 78 76 2e 68 |00'-hood| in xv.h|
|00003230| 0a 23 0a 23 4e 45 45 44 | 5f 44 49 52 45 4e 54 20 |.#.#NEED|_DIRENT |
|00003240| 3d 20 2d 44 44 49 52 45 | 4e 54 0a 0a 0a 23 0a 23 |= -DDIRE|NT...#.#|
|00003250| 20 66 6f 72 20 55 4d 41 | 58 20 56 20 62 79 20 45 | for UMA|X V by E|
|00003260| 6e 63 6f 72 65 20 43 6f | 6d 70 75 74 65 72 73 20 |ncore Co|mputers |
|00003270| 75 6e 63 6f 6d 6d 65 6e | 74 20 74 68 65 20 66 6f |uncommen|t the fo|
|00003280| 6c 6c 6f 77 69 6e 67 20 | 6c 69 6e 65 20 66 6f 72 |llowing |line for|
|00003290| 0a 23 20 74 68 65 20 70 | 6f 72 74 61 62 6c 65 20 |.# the p|ortable |
|000032a0| 63 20 63 6f 6d 70 69 6c | 65 72 2c 20 73 79 73 74 |c compil|er, syst|
|000032b0| 65 6d 20 73 70 65 63 69 | 66 69 63 20 64 65 66 69 |em speci|fic defi|
|000032c0| 6e 69 74 69 6f 6e 73 20 | 61 6e 64 0a 23 20 6c 6f |nitions |and.# lo|
|000032d0| 63 61 74 69 6f 6e 20 6f | 66 20 6c 6f 63 61 6c 20 |cation o|f local |
|000032e0| 58 31 31 20 6c 69 62 72 | 61 72 79 28 69 66 20 73 |X11 libr|ary(if s|
|000032f0| 69 74 65 20 73 70 65 63 | 69 66 69 63 2c 20 6d 6f |ite spec|ific, mo|
|00003300| 64 69 66 79 20 2d 4c 20 | 6f 70 74 69 6f 6e 29 0a |dify -L |option).|
|00003310| 23 20 4e 6f 20 6f 74 68 | 65 72 20 73 77 69 74 63 |# No oth|er switc|
|00003320| 68 65 73 20 73 68 6f 75 | 6c 64 20 62 65 20 6e 65 |hes shou|ld be ne|
|00003330| 63 65 73 73 61 72 79 0a | 23 0a 23 55 4d 41 58 20 |cessary.|#.#UMAX |
|00003340| 3d 20 20 2d 71 20 65 78 | 74 65 6e 73 69 6f 6e 73 |= -q ex|tensions|
|00003350| 3d 70 63 63 5f 63 20 2d | 44 5f 5f 55 4d 41 58 56 |=pcc_c -|D__UMAXV|
|00003360| 5f 5f 20 2d 4c 2f 75 73 | 72 32 2f 75 73 72 2f 6c |__ -L/us|r2/usr/l|
|00003370| 69 62 2f 58 31 31 20 2d | 44 53 56 52 34 20 2d 44 |ib/X11 -|DSVR4 -D|
|00003380| 44 49 52 45 4e 54 0a 0a | 0a 23 20 49 66 20 79 6f |DIRENT..|.# If yo|
|00003390| 75 72 20 6d 61 63 68 69 | 6e 65 20 64 6f 65 73 6e |ur machi|ne doesn|
|000033a0| 27 74 20 68 61 76 65 20 | 74 68 65 20 27 73 74 72 |'t have |the 'str|
|000033b0| 63 68 72 27 2c 20 27 6d | 65 6d 73 65 74 27 20 61 |chr', 'm|emset' a|
|000033c0| 6e 64 20 27 6d 65 6d 63 | 70 79 27 20 66 75 6e 63 |nd 'memc|py' func|
|000033d0| 74 69 6f 6e 73 2c 0a 23 | 20 62 75 74 20 64 6f 65 |tions,.#| but doe|
|000033e0| 73 20 68 61 76 65 20 27 | 62 63 6f 70 79 27 2c 20 |s have '|bcopy', |
|000033f0| 75 6e 63 6f 6d 6d 65 6e | 74 20 74 68 65 20 66 6f |uncommen|t the fo|
|00003400| 6c 6c 6f 77 69 6e 67 20 | 6c 69 6e 65 2e 20 20 28 |llowing |line. (|
|00003410| 41 6e 64 20 67 65 74 20 | 61 20 62 65 74 74 65 72 |And get |a better|
|00003420| 20 0a 23 20 6f 70 65 72 | 61 74 69 6e 67 20 73 79 | .# oper|ating sy|
|00003430| 73 74 65 6d 21 29 0a 23 | 0a 23 55 53 45 4d 45 4d |stem!).#|.#USEMEM|
|00003440| 20 3d 20 2d 44 4e 45 45 | 44 5f 4d 45 4d 52 4f 55 | = -DNEE|D_MEMROU|
|00003450| 54 49 4e 45 53 0a 0a 23 | 20 69 66 20 79 6f 75 72 |TINES..#| if your|
|00003460| 20 6d 61 63 68 69 6e 65 | 20 64 6f 65 73 6e 27 74 | machine| doesn't|
|00003470| 20 68 61 76 65 20 27 72 | 61 6e 64 6f 6d 28 29 27 | have 'r|andom()'|
|00003480| 2c 20 62 75 74 20 64 6f | 65 73 20 68 61 76 65 20 |, but do|es have |
|00003490| 27 72 61 6e 64 28 29 2c | 0a 23 20 75 6e 63 6f 6d |'rand(),|.# uncom|
|000034a0| 6d 65 6e 74 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |ment the| followi|
|000034b0| 6e 67 20 6c 69 6e 65 3a | 0a 23 0a 23 52 41 4e 44 |ng line:|.#.#RAND|
|000034c0| 20 3d 20 2d 44 4e 4f 5f | 52 41 4e 44 4f 4d 0a 0a | = -DNO_|RANDOM..|
|000034d0| 23 20 49 46 20 59 4f 55 | 52 20 4d 41 43 48 49 4e |# IF YOU|R MACHIN|
|000034e0| 45 20 44 4f 45 53 4e 27 | 54 20 48 41 56 45 20 27 |E DOESN'|T HAVE '|
|000034f0| 76 70 72 69 6e 74 66 28 | 29 27 20 4f 52 20 27 76 |vprintf(|)' OR 'v|
|00003500| 73 70 72 69 6e 74 66 28 | 29 27 0a 23 0a 23 20 56 |sprintf(|)'.#.# V|
|00003510| 61 78 20 42 53 44 20 61 | 6e 64 20 49 42 4d 20 41 |ax BSD a|nd IBM A|
|00003520| 4f 53 20 64 6f 6e 27 74 | 20 68 61 76 65 20 76 70 |OS don't| have vp|
|00003530| 72 69 6e 74 66 20 6f 72 | 20 76 73 70 72 69 6e 74 |rintf or| vsprint|
|00003540| 66 2e 0a 23 20 4e 6f 74 | 65 20 74 68 61 74 20 6f |f..# Not|e that o|
|00003550| 75 72 20 6c 6f 63 61 6c | 20 6c 69 62 72 61 72 79 |ur local| library|
|00003560| 20 76 65 72 73 69 6f 6e | 73 20 6f 66 20 73 70 72 | version|s of spr|
|00003570| 69 6e 74 66 20 68 61 76 | 65 20 62 65 65 6e 20 75 |intf hav|e been u|
|00003580| 70 64 61 74 65 64 0a 23 | 20 74 6f 20 72 65 74 75 |pdated.#| to retu|
|00003590| 72 6e 20 69 6e 74 2c 20 | 74 68 65 20 6e 75 6d 62 |rn int, |the numb|
|000035a0| 65 72 20 6f 66 20 63 68 | 61 72 61 63 74 65 72 73 |er of ch|aracters|
|000035b0| 20 69 6e 20 74 68 65 20 | 66 6f 72 6d 61 74 74 65 | in the |formatte|
|000035c0| 64 20 73 74 72 69 6e 67 | 2c 0a 23 20 77 68 65 72 |d string|,.# wher|
|000035d0| 65 61 73 20 74 68 65 20 | 76 65 72 73 69 6f 6e 73 |eas the |versions|
|000035e0| 20 69 6e 20 73 74 6f 63 | 6b 20 34 2e 33 42 53 44 | in stoc|k 4.3BSD|
|000035f0| 20 64 6f 20 6e 6f 74 20 | 73 6f 20 72 65 74 75 72 | do not |so retur|
|00003600| 6e 2e 20 20 59 6f 75 20 | 6d 61 79 0a 23 20 68 61 |n. You |may.# ha|
|00003610| 76 65 20 74 6f 20 72 65 | 6d 6f 76 65 20 74 68 65 |ve to re|move the|
|00003620| 20 22 2d 44 49 4e 54 53 | 50 52 49 4e 54 46 22 20 | "-DINTS|PRINTF" |
|00003630| 62 65 6c 6f 77 20 69 66 | 20 79 6f 75 27 72 65 20 |below if| you're |
|00003640| 63 6f 6d 70 69 6c 69 6e | 67 20 66 6f 72 0a 23 20 |compilin|g for.# |
|00003650| 73 74 6f 63 6b 20 34 2e | 33 42 53 44 20 6f 72 20 |stock 4.|3BSD or |
|00003660| 66 6f 72 20 73 6f 6d 65 | 20 6f 74 68 65 72 20 56 |for some| other V|
|00003670| 61 78 20 6f 72 20 52 54 | 20 6c 69 62 72 61 72 79 |ax or RT| library|
|00003680| 20 70 61 63 6b 61 67 65 | 20 77 68 65 72 65 0a 23 | package| where.#|
|00003690| 20 73 70 72 69 6e 74 66 | 20 72 65 74 75 72 6e 73 | sprintf| returns|
|000036a0| 20 63 68 61 72 20 2a 2e | 0a 23 0a 23 20 41 6c 73 | char *.|.#.# Als|
|000036b0| 6f 2c 20 49 20 64 65 66 | 69 6e 65 20 4e 4f 56 4f |o, I def|ine NOVO|
|000036c0| 49 44 20 6f 6e 20 74 68 | 65 20 56 61 78 20 62 65 |ID on th|e Vax be|
|000036d0| 63 61 75 73 65 20 49 27 | 6d 20 75 73 69 6e 67 20 |cause I'|m using |
|000036e0| 70 63 63 20 74 6f 20 63 | 6f 6d 70 69 6c 65 2e 0a |pcc to c|ompile..|
|000036f0| 23 20 49 66 20 79 6f 75 | 20 75 73 65 20 67 63 63 |# If you| use gcc|
|00003700| 20 6f 72 20 73 6f 6d 65 | 20 6f 74 68 65 72 20 62 | or some| other b|
|00003710| 65 74 74 65 72 20 63 6f | 6d 70 69 6c 65 72 2c 20 |etter co|mpiler, |
|00003720| 74 68 69 73 20 73 68 6f | 75 6c 64 20 6e 6f 74 20 |this sho|uld not |
|00003730| 62 65 0a 23 20 6e 65 63 | 65 73 73 61 72 79 2e 20 |be.# nec|essary. |
|00003740| 20 49 20 64 65 66 69 6e | 65 20 4e 4f 53 54 44 48 | I defin|e NOSTDH|
|00003750| 44 52 53 20 6f 6e 20 74 | 68 65 20 52 54 20 62 65 |DRS on t|he RT be|
|00003760| 63 61 75 73 65 20 77 65 | 20 64 6f 6e 27 74 20 68 |cause we| don't h|
|00003770| 61 76 65 0a 23 20 73 74 | 61 6e 64 61 72 64 20 41 |ave.# st|andard A|
|00003780| 4e 53 49 20 68 65 61 64 | 65 72 20 66 69 6c 65 73 |NSI head|er files|
|00003790| 20 69 6e 73 74 61 6c 6c | 65 64 20 66 6f 72 20 74 | install|ed for t|
|000037a0| 68 65 20 52 54 2c 20 65 | 76 65 6e 20 74 68 6f 75 |he RT, e|ven thou|
|000037b0| 67 68 20 74 68 65 20 52 | 54 0a 23 20 63 6f 6d 70 |gh the R|T.# comp|
|000037c0| 69 6c 65 72 20 63 6c 61 | 69 6d 73 20 74 6f 20 62 |iler cla|ims to b|
|000037d0| 65 20 41 4e 53 49 2d 63 | 6f 6d 70 6c 69 61 6e 74 |e ANSI-c|ompliant|
|000037e0| 2e 0a 23 0a 23 20 20 28 | 66 6f 72 20 42 53 44 20 |..#.# (|for BSD |
|000037f0| 34 2e 33 20 56 41 58 2c | 20 75 6e 63 6f 6d 6d 65 |4.3 VAX,| uncomme|
|00003800| 6e 74 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |nt the f|ollowing|
|00003810| 20 6c 69 6e 65 29 0a 23 | 56 50 52 49 4e 54 46 20 | line).#|VPRINTF |
|00003820| 3d 20 2d 44 4e 45 45 44 | 5f 56 50 52 49 4e 54 46 |= -DNEED|_VPRINTF|
|00003830| 20 2d 44 49 4e 54 53 50 | 52 49 4e 54 46 20 2d 44 | -DINTSP|RINTF -D|
|00003840| 4c 4f 4e 47 49 4e 54 20 | 2d 44 4e 4f 56 4f 49 44 |LONGINT |-DNOVOID|
|00003850| 0a 23 20 20 28 66 6f 72 | 20 28 73 74 6f 63 6b 29 |.# (for| (stock)|
|00003860| 20 49 42 4d 20 52 54 20 | 41 4f 53 20 34 2e 33 2c | IBM RT |AOS 4.3,|
|00003870| 20 75 6e 63 6f 6d 6d 65 | 6e 74 20 74 68 65 20 66 | uncomme|nt the f|
|00003880| 6f 6c 6c 6f 77 69 6e 67 | 20 6c 69 6e 65 29 0a 23 |ollowing| line).#|
|00003890| 56 50 52 49 4e 54 46 20 | 3d 20 2d 44 4e 45 45 44 |VPRINTF |= -DNEED|
|000038a0| 5f 56 50 52 49 4e 54 46 | 20 2d 44 4c 4f 4e 47 49 |_VPRINTF| -DLONGI|
|000038b0| 4e 54 20 2d 44 4e 4f 53 | 54 44 48 44 52 53 0a 23 |NT -DNOS|TDHDRS.#|
|000038c0| 20 20 28 66 6f 72 20 53 | 65 71 75 65 6e 74 20 72 | (for S|equent r|
|000038d0| 75 6e 6e 69 6e 67 20 44 | 59 4e 49 58 20 33 2e 31 |unning D|YNIX 3.1|
|000038e0| 2e 34 2c 20 75 6e 63 6f | 6d 6d 65 6e 74 20 74 68 |.4, unco|mment th|
|000038f0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6c 69 6e 65 |e follow|ing line|
|00003900| 29 0a 23 56 50 52 49 4e | 54 46 20 3d 20 2d 44 4e |).#VPRIN|TF = -DN|
|00003910| 45 45 44 5f 56 50 52 49 | 4e 54 46 20 2d 44 4c 4f |EED_VPRI|NTF -DLO|
|00003920| 4e 47 49 4e 54 20 2d 44 | 4e 4f 53 54 44 48 44 52 |NGINT -D|NOSTDHDR|
|00003930| 53 0a 0a 0a 23 20 49 66 | 20 79 6f 75 72 20 6d 61 |S...# If| your ma|
|00003940| 63 68 69 6e 65 20 64 6f | 65 73 20 6e 6f 74 20 68 |chine do|es not h|
|00003950| 61 76 65 20 74 68 65 20 | 27 73 65 74 69 74 69 6d |ave the |'setitim|
|00003960| 65 72 28 29 27 20 63 61 | 6c 6c 2c 20 62 75 74 20 |er()' ca|ll, but |
|00003970| 64 6f 65 73 0a 23 20 68 | 61 76 65 20 74 68 65 20 |does.# h|ave the |
|00003980| 27 75 73 6c 65 65 70 28 | 29 27 20 63 61 6c 6c 2c |'usleep(|)' call,|
|00003990| 20 75 6e 63 6f 6d 6d 65 | 6e 74 20 74 68 65 20 66 | uncomme|nt the f|
|000039a0| 6f 6c 6c 6f 77 69 6e 67 | 20 6c 69 6e 65 3a 0a 23 |ollowing| line:.#|
|000039b0| 0a 23 54 49 4d 45 52 53 | 20 3d 20 2d 44 55 53 4c |.#TIMERS| = -DUSL|
|000039c0| 45 45 50 0a 23 0a 23 20 | 61 6c 74 65 72 6e 61 74 |EEP.#.# |alternat|
|000039d0| 65 6c 79 2c 20 69 66 20 | 79 6f 75 72 20 6d 61 63 |ely, if |your mac|
|000039e0| 68 69 6e 65 20 64 6f 65 | 73 20 6e 6f 74 20 68 61 |hine doe|s not ha|
|000039f0| 76 65 20 45 49 54 48 45 | 52 20 74 68 65 20 27 73 |ve EITHE|R the 's|
|00003a00| 65 74 69 74 69 6d 65 72 | 28 29 27 20 6f 72 0a 23 |etitimer|()' or.#|
|00003a10| 20 74 68 65 20 27 75 73 | 6c 65 65 70 28 29 27 20 | the 'us|leep()' |
|00003a20| 63 61 6c 6c 2c 20 75 6e | 63 6f 6d 6d 65 6e 74 20 |call, un|comment |
|00003a30| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 6c 69 |the foll|owing li|
|00003a40| 6e 65 3a 0a 23 0a 23 54 | 49 4d 45 52 53 20 3d 20 |ne:.#.#T|IMERS = |
|00003a50| 2d 44 4e 4f 54 49 4d 45 | 52 0a 0a 0a 23 20 49 66 |-DNOTIME|R...# If|
|00003a60| 20 79 6f 75 20 61 72 65 | 20 75 73 69 6e 67 20 61 | you are| using a|
|00003a70| 6e 20 41 54 26 54 20 6d | 61 63 68 69 6e 65 2c 20 |n AT&T m|achine, |
|00003a80| 75 6e 63 6f 6d 6d 65 6e | 74 20 74 68 65 20 66 6f |uncommen|t the fo|
|00003a90| 6c 6c 6f 77 69 6e 67 20 | 6c 69 6e 65 0a 23 20 49 |llowing |line.# I|
|00003aa0| 66 20 79 6f 75 20 68 61 | 76 65 20 70 72 6f 62 6c |f you ha|ve probl|
|00003ab0| 65 6d 73 20 63 6f 6d 70 | 69 6c 69 6e 67 20 78 76 |ems comp|iling xv|
|00003ac0| 2e 63 20 61 6e 64 20 78 | 76 64 69 72 2e 63 20 62 |.c and x|vdir.c b|
|00003ad0| 65 63 61 75 73 65 20 6f | 66 20 74 68 65 20 44 49 |ecause o|f the DI|
|00003ae0| 52 0a 23 20 72 65 66 65 | 72 65 6e 63 65 20 69 6e |R.# refe|rence in|
|00003af0| 20 64 69 72 65 6e 74 2e | 68 2c 20 61 70 70 65 6e | dirent.|h, appen|
|00003b00| 64 20 27 2d 44 41 54 54 | 27 20 74 6f 20 74 68 65 |d '-DATT|' to the|
|00003b10| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6c 69 6e 65 3a | followi|ng line:|
|00003b20| 0a 23 0a 23 41 54 54 20 | 3d 20 2d 44 44 49 52 45 |.#.#ATT |= -DDIRE|
|00003b30| 4e 54 20 2d 44 55 53 4c | 45 45 50 20 2d 44 41 54 |NT -DUSL|EEP -DAT|
|00003b40| 54 0a 0a 0a 23 20 49 66 | 20 79 6f 75 20 61 72 65 |T...# If| you are|
|00003b50| 20 75 73 69 6e 67 20 61 | 6e 20 48 50 20 72 75 6e | using a|n HP run|
|00003b60| 6e 69 6e 67 20 48 50 55 | 58 20 37 2e 30 2c 20 75 |ning HPU|X 7.0, u|
|00003b70| 6e 63 6f 6d 6d 65 6e 74 | 20 74 68 65 20 66 6f 6c |ncomment| the fol|
|00003b80| 6c 6f 77 69 6e 67 20 6c | 69 6e 65 0a 23 0a 23 48 |lowing l|ine.#.#H|
|00003b90| 50 55 58 37 20 3d 20 2d | 44 53 56 52 34 20 2d 44 |PUX7 = -|DSVR4 -D|
|00003ba0| 41 54 54 20 2b 4e 73 34 | 30 30 30 20 2d 44 48 50 |ATT +Ns4|000 -DHP|
|00003bb0| 55 58 37 0a 0a 0a 23 20 | 46 6f 72 20 53 43 4f 20 |UX7...# |For SCO |
|00003bc0| 61 6e 64 20 4f 44 54 20 | 6d 61 63 68 69 6e 65 73 |and ODT |machines|
|00003bd0| 2c 20 75 6e 63 6f 6d 6d | 65 6e 74 20 74 68 65 20 |, uncomm|ent the |
|00003be0| 66 6f 6c 6c 6f 77 69 6e | 67 3a 0a 23 0a 23 53 43 |followin|g:.#.#SC|
|00003bf0| 4f 20 3d 20 2d 44 73 63 | 6f 20 2d 44 50 4f 53 49 |O = -Dsc|o -DPOSI|
|00003c00| 58 20 2d 44 4e 4f 54 49 | 4d 45 52 0a 23 0a 23 20 |X -DNOTI|MER.#.# |
|00003c10| 49 74 69 6d 65 72 73 20 | 77 69 6c 6c 20 62 65 20 |Itimers |will be |
|00003c20| 69 6e 20 33 2e 32 76 33 | 20 28 79 65 61 68 21 29 |in 3.2v3| (yeah!)|
|00003c30| 20 62 75 74 20 74 68 61 | 74 20 77 6f 6e 27 74 20 | but tha|t won't |
|00003c40| 62 65 20 6f 75 74 20 69 | 6e 20 74 68 65 20 70 75 |be out i|n the pu|
|00003c50| 62 6c 69 63 27 73 0a 23 | 20 68 61 6e 64 73 20 66 |blic's.#| hands f|
|00003c60| 6f 72 20 61 20 77 68 69 | 6c 65 2e 0a 23 0a 23 20 |or a whi|le..#.# |
|00003c70| 41 6c 73 6f 2c 20 79 6f | 75 27 6c 6c 20 77 61 6e |Also, yo|u'll wan|
|00003c80| 74 20 74 6f 20 63 68 61 | 6e 67 65 20 4c 49 42 53 |t to cha|nge LIBS|
|00003c90| 20 74 6f 0a 23 0a 23 20 | 20 2d 6c 58 31 31 20 2d | to.#.# | -lX11 -|
|00003ca0| 6c 6d 20 2d 6c 73 6f 63 | 6b 65 74 20 2d 6c 6d 61 |lm -lsoc|ket -lma|
|00003cb0| 6c 6c 6f 63 20 2d 6c 63 | 20 2d 6c 78 0a 23 0a 23 |lloc -lc| -lx.#.#|
|00003cc0| 20 2d 6c 78 20 6d 75 73 | 74 20 62 65 20 61 66 74 | -lx mus|t be aft|
|00003cd0| 65 72 20 2d 6c 63 20 73 | 6f 20 79 6f 75 20 67 65 |er -lc s|o you ge|
|00003ce0| 74 20 74 68 65 20 72 69 | 67 68 74 20 64 69 72 65 |t the ri|ght dire|
|00003cf0| 63 74 6f 72 79 20 72 6f | 75 74 69 6e 65 73 2e 0a |ctory ro|utines..|
|00003d00| 23 0a 0a 43 46 4c 41 47 | 53 20 3d 20 24 28 43 43 |#..CFLAG|S = $(CC|
|00003d10| 4f 50 54 53 29 20 24 28 | 4e 45 45 44 5f 44 49 52 |OPTS) $(|NEED_DIR|
|00003d20| 45 4e 54 29 20 24 28 56 | 50 52 49 4e 54 46 29 20 |ENT) $(V|PRINTF) |
|00003d30| 24 28 54 49 4d 45 52 53 | 29 20 24 28 41 54 54 29 |$(TIMERS|) $(ATT)|
|00003d40| 20 5c 0a 09 24 28 53 43 | 4f 29 20 24 28 55 4e 49 | \..$(SC|O) $(UNI|
|00003d50| 58 29 20 24 28 55 53 45 | 4d 45 4d 29 20 24 28 48 |X) $(USE|MEM) $(H|
|00003d60| 50 55 58 37 29 20 24 28 | 4a 50 45 47 29 20 24 28 |PUX7) $(|JPEG) $(|
|00003d70| 4a 50 45 47 49 4e 43 4c | 55 44 45 29 20 5c 0a 09 |JPEGINCL|UDE) \..|
|00003d80| 24 28 44 58 57 4d 29 20 | 24 28 55 4d 41 58 29 20 |$(DXWM) |$(UMAX) |
|00003d90| 24 28 46 53 51 55 49 43 | 4b 29 20 24 28 52 41 4e |$(FSQUIC|K) $(RAN|
|00003da0| 44 29 20 24 28 54 49 46 | 46 29 20 24 28 54 49 46 |D) $(TIF|F) $(TIF|
|00003db0| 46 49 4e 43 4c 55 44 45 | 29 20 24 28 50 44 53 29 |FINCLUDE|) $(PDS)|
|00003dc0| 0a 0a 4c 49 42 53 20 3d | 20 2d 6c 58 31 31 20 24 |..LIBS =| -lX11 $|
|00003dd0| 28 4c 49 42 4a 50 45 47 | 29 20 24 28 4c 49 42 54 |(LIBJPEG|) $(LIBT|
|00003de0| 49 46 46 29 20 2d 6c 6d | 0a 0a 42 49 54 4d 41 50 |IFF) -lm|..BITMAP|
|00003df0| 53 20 3d 20 62 69 74 6d | 61 70 73 2f 67 72 61 73 |S = bitm|aps/gras|
|00003e00| 70 20 62 69 74 6d 61 70 | 73 2f 70 65 6e 6e 20 62 |p bitmap|s/penn b|
|00003e10| 69 74 6d 61 70 73 2f 64 | 6f 77 6e 20 62 69 74 6d |itmaps/d|own bitm|
|00003e20| 61 70 73 2f 64 6f 77 6e | 31 20 5c 0a 09 20 20 62 |aps/down|1 \.. b|
|00003e30| 69 74 6d 61 70 73 2f 75 | 70 20 62 69 74 6d 61 70 |itmaps/u|p bitmap|
|00003e40| 73 2f 75 70 31 20 62 69 | 74 6d 61 70 73 2f 73 63 |s/up1 bi|tmaps/sc|
|00003e50| 72 6c 67 72 61 79 20 62 | 69 74 6d 61 70 73 2f 67 |rlgray b|itmaps/g|
|00003e60| 72 61 79 35 30 20 5c 0a | 09 20 20 62 69 74 6d 61 |ray50 \.|. bitma|
|00003e70| 70 73 2f 67 72 61 79 32 | 35 20 62 69 74 6d 61 70 |ps/gray2|5 bitmap|
|00003e80| 73 2f 69 5f 66 69 66 6f | 20 62 69 74 6d 61 70 73 |s/i_fifo| bitmaps|
|00003e90| 2f 69 5f 63 68 72 20 62 | 69 74 6d 61 70 73 2f 69 |/i_chr b|itmaps/i|
|00003ea0| 5f 64 69 72 20 5c 0a 09 | 20 20 62 69 74 6d 61 70 |_dir \..| bitmap|
|00003eb0| 73 2f 69 5f 62 6c 6b 20 | 62 69 74 6d 61 70 73 2f |s/i_blk |bitmaps/|
|00003ec0| 69 5f 6c 6e 6b 20 62 69 | 74 6d 61 70 73 2f 69 5f |i_lnk bi|tmaps/i_|
|00003ed0| 73 6f 63 6b 20 62 69 74 | 6d 61 70 73 2f 69 5f 72 |sock bit|maps/i_r|
|00003ee0| 65 67 20 5c 0a 09 20 20 | 62 69 74 6d 61 70 73 2f |eg \.. |bitmaps/|
|00003ef0| 72 62 5f 6f 66 66 20 62 | 69 74 6d 61 70 73 2f 72 |rb_off b|itmaps/r|
|00003f00| 62 5f 6f 6e 20 62 69 74 | 6d 61 70 73 2f 72 62 5f |b_on bit|maps/rb_|
|00003f10| 6f 66 66 31 20 62 69 74 | 6d 61 70 73 2f 72 62 5f |off1 bit|maps/rb_|
|00003f20| 6f 6e 31 20 5c 0a 09 20 | 20 62 69 74 6d 61 70 73 |on1 \.. | bitmaps|
|00003f30| 2f 66 63 5f 6c 65 66 74 | 20 62 69 74 6d 61 70 73 |/fc_left| bitmaps|
|00003f40| 2f 66 63 5f 6c 65 66 74 | 6d 20 62 69 74 6d 61 70 |/fc_left|m bitmap|
|00003f50| 73 2f 66 63 5f 6d 69 64 | 20 62 69 74 6d 61 70 73 |s/fc_mid| bitmaps|
|00003f60| 2f 66 63 5f 6d 69 64 6d | 20 5c 0a 09 20 20 62 69 |/fc_midm| \.. bi|
|00003f70| 74 6d 61 70 73 2f 66 63 | 5f 72 69 67 68 74 20 62 |tmaps/fc|_right b|
|00003f80| 69 74 6d 61 70 73 2f 66 | 63 5f 72 69 67 68 74 6d |itmaps/f|c_rightm|
|00003f90| 20 62 69 74 6d 61 70 73 | 2f 66 63 5f 6c 65 66 74 | bitmaps|/fc_left|
|00003fa0| 31 20 5c 0a 09 20 20 62 | 69 74 6d 61 70 73 2f 66 |1 \.. b|itmaps/f|
|00003fb0| 63 5f 6c 65 66 74 31 6d | 20 62 69 74 6d 61 70 73 |c_left1m| bitmaps|
|00003fc0| 2f 66 63 5f 72 69 67 68 | 74 31 20 62 69 74 6d 61 |/fc_righ|t1 bitma|
|00003fd0| 70 73 2f 66 63 5f 72 69 | 67 68 74 31 6d 20 5c 0a |ps/fc_ri|ght1m \.|
|00003fe0| 09 20 20 62 69 74 6d 61 | 70 73 2f 69 63 6f 6e 20 |. bitma|ps/icon |
|00003ff0| 62 69 74 6d 61 70 73 2f | 64 69 61 6c 5f 63 77 31 |bitmaps/|dial_cw1|
|00004000| 20 62 69 74 6d 61 70 73 | 2f 64 69 61 6c 5f 63 77 | bitmaps|/dial_cw|
|00004010| 32 20 62 69 74 6d 61 70 | 73 2f 64 69 61 6c 5f 63 |2 bitmap|s/dial_c|
|00004020| 63 77 31 20 5c 0a 09 20 | 20 62 69 74 6d 61 70 73 |cw1 \.. | bitmaps|
|00004030| 2f 64 69 61 6c 5f 63 63 | 77 32 20 62 69 74 6d 61 |/dial_cc|w2 bitma|
|00004040| 70 73 2f 69 63 6f 6e 6d | 61 73 6b 20 62 69 74 6d |ps/iconm|ask bitm|
|00004050| 61 70 73 2f 67 66 31 5f | 61 64 64 68 20 5c 0a 09 |aps/gf1_|addh \..|
|00004060| 20 20 62 69 74 6d 61 70 | 73 2f 67 66 31 5f 64 65 | bitmap|s/gf1_de|
|00004070| 6c 68 20 62 69 74 6d 61 | 70 73 2f 67 66 31 5f 6c |lh bitma|ps/gf1_l|
|00004080| 69 6e 65 20 62 69 74 6d | 61 70 73 2f 67 66 31 5f |ine bitm|aps/gf1_|
|00004090| 72 73 74 20 5c 0a 09 20 | 20 62 69 74 6d 61 70 73 |rst \.. | bitmaps|
|000040a0| 2f 67 66 31 5f 73 70 6c | 6e 20 62 69 74 6d 61 70 |/gf1_spl|n bitmap|
|000040b0| 73 2f 67 66 31 5f 67 61 | 6d 6d 61 20 5c 0a 09 20 |s/gf1_ga|mma \.. |
|000040c0| 20 62 69 74 6d 61 70 73 | 2f 68 5f 72 6f 74 6c 20 | bitmaps|/h_rotl |
|000040d0| 62 69 74 6d 61 70 73 2f | 68 5f 72 6f 74 72 20 62 |bitmaps/|h_rotr b|
|000040e0| 69 74 6d 61 70 73 2f 68 | 5f 73 69 6e 63 20 62 69 |itmaps/h|_sinc bi|
|000040f0| 74 6d 61 70 73 2f 68 5f | 73 64 65 63 20 5c 0a 09 |tmaps/h_|sdec \..|
|00004100| 20 20 62 69 74 6d 61 70 | 73 2f 68 5f 66 6c 69 70 | bitmap|s/h_flip|
|00004110| 20 62 69 74 6d 61 70 73 | 2f 63 62 5f 6f 66 66 20 | bitmaps|/cb_off |
|00004120| 62 69 74 6d 61 70 73 2f | 63 62 5f 6f 6e 20 62 69 |bitmaps/|cb_on bi|
|00004130| 74 6d 61 70 73 2f 63 62 | 5f 6f 66 66 31 20 5c 0a |tmaps/cb|_off1 \.|
|00004140| 09 20 20 62 69 74 6d 61 | 70 73 2f 63 62 5f 6f 6e |. bitma|ps/cb_on|
|00004150| 31 20 62 69 74 6d 61 70 | 73 2f 68 5f 73 61 74 20 |1 bitmap|s/h_sat |
|00004160| 62 69 74 6d 61 70 73 2f | 68 5f 64 65 73 61 74 20 |bitmaps/|h_desat |
|00004170| 62 69 74 6d 61 70 73 2f | 72 6f 6f 74 5f 77 65 61 |bitmaps/|root_wea|
|00004180| 76 65 20 5c 0a 20 20 20 | 20 20 20 20 20 20 20 62 |ve \. | b|
|00004190| 69 74 6d 61 70 73 2f 63 | 62 6f 61 72 64 35 30 20 |itmaps/c|board50 |
|000041a0| 62 69 74 6d 61 70 73 2f | 6d 62 5f 63 68 6b 20 62 |bitmaps/|mb_chk b|
|000041b0| 69 74 6d 61 70 73 2f 66 | 6c 69 70 68 20 62 69 74 |itmaps/f|liph bit|
|000041c0| 6d 61 70 73 2f 66 6c 69 | 70 76 0a 0a 4f 42 4a 53 |maps/fli|pv..OBJS|
|000041d0| 20 3d 20 09 78 76 2e 6f | 20 78 76 65 76 65 6e 74 | = .xv.o| xvevent|
|000041e0| 2e 6f 20 78 76 72 6f 6f | 74 2e 6f 20 78 76 6d 69 |.o xvroo|t.o xvmi|
|000041f0| 73 63 2e 6f 20 78 76 69 | 6d 61 67 65 2e 6f 20 78 |sc.o xvi|mage.o x|
|00004200| 76 63 6f 6c 6f 72 2e 6f | 20 78 76 73 6d 6f 6f 74 |vcolor.o| xvsmoot|
|00004210| 68 2e 6f 20 5c 0a 09 78 | 76 32 34 74 6f 38 2e 6f |h.o \..x|v24to8.o|
|00004220| 20 78 76 67 69 66 2e 6f | 20 78 76 70 6d 2e 6f 20 | xvgif.o| xvpm.o |
|00004230| 78 76 69 6e 66 6f 2e 6f | 20 78 76 63 74 72 6c 2e |xvinfo.o| xvctrl.|
|00004240| 6f 20 78 76 73 63 72 6c | 2e 6f 20 5c 0a 09 78 76 |o xvscrl|.o \..xv|
|00004250| 67 69 66 77 72 2e 6f 20 | 78 76 64 69 72 2e 6f 20 |gifwr.o |xvdir.o |
|00004260| 78 76 62 75 74 74 2e 6f | 20 78 76 70 62 6d 2e 6f |xvbutt.o| xvpbm.o|
|00004270| 20 78 76 78 62 6d 2e 6f | 20 78 76 67 61 6d 2e 6f | xvxbm.o| xvgam.o|
|00004280| 20 5c 0a 09 78 76 64 69 | 61 6c 2e 6f 20 78 76 67 | \..xvdi|al.o xvg|
|00004290| 72 61 66 2e 6f 20 78 76 | 73 75 6e 72 61 73 2e 6f |raf.o xv|sunras.o|
|000042a0| 20 78 76 6a 70 65 67 2e | 6f 20 78 76 70 73 2e 6f | xvjpeg.|o xvps.o|
|000042b0| 20 78 76 70 6f 70 75 70 | 2e 6f 20 78 76 64 66 6c | xvpopup|.o xvdfl|
|000042c0| 74 2e 6f 20 5c 0a 09 78 | 76 74 69 66 66 2e 6f 20 |t.o \..x|vtiff.o |
|000042d0| 78 76 74 69 66 66 77 72 | 2e 6f 20 78 76 70 64 73 |xvtiffwr|.o xvpds|
|000042e0| 2e 6f 20 78 76 72 6c 65 | 2e 6f 20 78 76 67 72 61 |.o xvrle|.o xvgra|
|000042f0| 62 2e 6f 20 76 70 72 69 | 6e 74 66 2e 6f 20 66 73 |b.o vpri|ntf.o fs|
|00004300| 51 75 69 63 6b 2e 6f 20 | 0a 0a 4d 49 53 43 20 3d |Quick.o |..MISC =|
|00004310| 20 52 45 41 44 4d 45 20 | 43 48 41 4e 47 45 4c 4f | README |CHANGELO|
|00004320| 47 20 49 44 45 41 53 0a | 0a 2e 63 2e 6f 3a 09 3b |G IDEAS.|..c.o:.;|
|00004330| 20 24 28 43 43 29 20 2d | 63 20 24 28 43 46 4c 41 | $(CC) -|c $(CFLA|
|00004340| 47 53 29 20 2d 6f 20 24 | 40 20 24 2a 2e 63 0a 0a |GS) -o $|@ $*.c..|
|00004350| 61 6c 6c 3a 20 24 28 4c | 49 42 4a 50 45 47 29 20 |all: $(L|IBJPEG) |
|00004360| 24 28 4c 49 42 54 49 46 | 46 29 20 78 76 20 62 67 |$(LIBTIF|F) xv bg|
|00004370| 67 65 6e 20 76 64 63 6f | 6d 70 0a 0a 78 76 3a 20 |gen vdco|mp..xv: |
|00004380| 24 28 4f 42 4a 53 29 20 | 24 28 4c 49 42 4a 50 45 |$(OBJS) |$(LIBJPE|
|00004390| 47 29 20 24 28 4c 49 42 | 54 49 46 46 29 0a 09 24 |G) $(LIB|TIFF)..$|
|000043a0| 28 43 43 29 20 24 28 43 | 46 4c 41 47 53 29 20 2d |(CC) $(C|FLAGS) -|
|000043b0| 6f 20 78 76 20 24 28 4f | 42 4a 53 29 20 24 28 4c |o xv $(O|BJS) $(L|
|000043c0| 49 42 53 29 0a 0a 62 67 | 67 65 6e 3a 20 62 67 67 |IBS)..bg|gen: bgg|
|000043d0| 65 6e 2e 63 0a 09 24 28 | 43 43 29 20 24 28 43 46 |en.c..$(|CC) $(CF|
|000043e0| 4c 41 47 53 29 20 2d 6f | 20 62 67 67 65 6e 20 62 |LAGS) -o| bggen b|
|000043f0| 67 67 65 6e 2e 63 0a 0a | 76 64 63 6f 6d 70 3a 20 |ggen.c..|vdcomp: |
|00004400| 76 64 63 6f 6d 70 2e 63 | 0a 09 24 28 43 43 29 20 |vdcomp.c|..$(CC) |
|00004410| 24 28 43 46 4c 41 47 53 | 29 20 2d 6f 20 76 64 63 |$(CFLAGS|) -o vdc|
|00004420| 6f 6d 70 20 76 64 63 6f | 6d 70 2e 63 0a 09 0a 63 |omp vdco|mp.c...c|
|00004430| 6c 65 61 6e 3a 0a 09 72 | 6d 20 2d 66 20 24 28 4f |lean:..r|m -f $(O|
|00004440| 42 4a 53 29 20 78 76 20 | 62 67 67 65 6e 20 76 64 |BJS) xv |bggen vd|
|00004450| 63 6f 6d 70 20 0a 23 20 | 63 6f 6d 6d 65 6e 74 20 |comp .# |comment |
|00004460| 6f 75 74 20 6f 6e 65 20 | 6f 72 20 62 6f 74 68 20 |out one |or both |
|00004470| 6f 66 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |of the f|ollowing|
|00004480| 20 69 66 20 79 6f 75 20 | 61 72 65 6e 27 74 20 75 | if you |aren't u|
|00004490| 73 69 6e 67 20 74 68 65 | 20 4a 50 45 47 20 61 6e |sing the| JPEG an|
|000044a0| 64 0a 23 20 54 49 46 46 | 20 6c 69 62 72 61 72 69 |d.# TIFF| librari|
|000044b0| 65 73 0a 09 28 20 63 64 | 20 24 28 4a 50 45 47 44 |es..( cd| $(JPEGD|
|000044c0| 49 52 29 20 3b 20 6d 61 | 6b 65 20 63 6c 65 61 6e |IR) ; ma|ke clean|
|000044d0| 20 29 0a 09 28 20 63 64 | 20 24 28 54 49 46 46 44 | )..( cd| $(TIFFD|
|000044e0| 49 52 29 20 3b 20 6d 61 | 6b 65 20 63 6c 65 61 6e |IR) ; ma|ke clean|
|000044f0| 20 29 0a 0a 0a 74 61 72 | 3a 0a 09 74 61 72 20 63 | )...tar|:..tar c|
|00004500| 66 20 78 76 2e 74 61 72 | 20 4d 61 6b 65 66 69 6c |f xv.tar| Makefil|
|00004510| 65 2a 20 49 6d 61 6b 65 | 66 69 6c 65 20 2a 2e 63 |e* Imake|file *.c|
|00004520| 20 2a 2e 68 20 62 69 74 | 6d 61 70 73 20 5c 0a 09 | *.h bit|maps \..|
|00004530| 09 64 6f 63 73 20 75 6e | 73 75 70 74 20 24 28 4a |.docs un|supt $(J|
|00004540| 50 45 47 44 49 52 29 20 | 24 28 54 49 46 46 44 49 |PEGDIR) |$(TIFFDI|
|00004550| 52 29 20 24 28 4d 49 53 | 43 29 0a 0a 24 28 4f 42 |R) $(MIS|C)..$(OB|
|00004560| 4a 53 29 3a 20 20 20 78 | 76 2e 68 0a 78 76 2e 6f |JS): x|v.h.xv.o|
|00004570| 3a 20 20 20 20 20 20 62 | 69 74 6d 61 70 73 2e 68 |: b|itmaps.h|
|00004580| 0a 78 76 62 75 74 74 2e | 6f 3a 20 20 62 69 74 6d |.xvbutt.|o: bitm|
|00004590| 61 70 73 2e 68 0a 78 76 | 63 74 72 6c 2e 6f 3a 20 |aps.h.xv|ctrl.o: |
|000045a0| 20 62 69 74 6d 61 70 73 | 2e 68 0a 78 76 64 69 61 | bitmaps|.h.xvdia|
|000045b0| 6c 2e 6f 3a 20 20 62 69 | 74 6d 61 70 73 2e 68 0a |l.o: bi|tmaps.h.|
|000045c0| 78 76 69 6e 66 6f 2e 6f | 3a 20 20 62 69 74 6d 61 |xvinfo.o|: bitma|
|000045d0| 70 73 2e 68 0a 78 76 6d | 69 73 63 2e 6f 3a 20 20 |ps.h.xvm|isc.o: |
|000045e0| 62 69 74 6d 61 70 73 2e | 68 0a 78 76 73 63 72 6c |bitmaps.|h.xvscrl|
|000045f0| 2e 6f 3a 20 20 62 69 74 | 6d 61 70 73 2e 68 0a 78 |.o: bit|maps.h.x|
|00004600| 76 67 72 61 66 2e 6f 3a | 20 20 62 69 74 6d 61 70 |vgraf.o:| bitmap|
|00004610| 73 2e 68 0a 0a 78 76 64 | 66 6c 74 2e 6f 3a 20 20 |s.h..xvd|flt.o: |
|00004620| 62 69 74 6d 61 70 73 2f | 78 76 70 69 63 5f 6c 6f |bitmaps/|xvpic_lo|
|00004630| 67 6f 20 62 69 74 6d 61 | 70 73 2f 78 76 70 69 63 |go bitma|ps/xvpic|
|00004640| 5f 72 65 76 20 62 69 74 | 6d 61 70 73 2f 78 76 70 |_rev bit|maps/xvp|
|00004650| 69 63 5f 6a 68 62 0a 78 | 76 64 66 6c 74 2e 6f 3a |ic_jhb.x|vdflt.o:|
|00004660| 20 20 62 69 74 6d 61 70 | 73 2f 78 66 5f 6c 65 66 | bitmap|s/xf_lef|
|00004670| 74 20 62 69 74 6d 61 70 | 73 2f 78 66 5f 72 69 67 |t bitmap|s/xf_rig|
|00004680| 68 74 0a 0a 0a 62 69 74 | 6d 61 70 73 2e 68 3a 20 |ht...bit|maps.h: |
|00004690| 24 28 42 49 54 4d 41 50 | 53 29 0a 09 63 61 74 20 |$(BITMAP|S)..cat |
|000046a0| 24 28 42 49 54 4d 41 50 | 53 29 20 3e 20 62 69 74 |$(BITMAP|S) > bit|
|000046b0| 6d 61 70 73 2e 68 0a 0a | 0a 0a 0a 23 20 69 66 2c |maps.h..|...# if,|
|000046c0| 20 66 6f 72 20 77 68 61 | 74 65 76 65 72 20 72 65 | for wha|tever re|
|000046d0| 61 73 6f 6e 2c 20 79 6f | 75 27 72 65 20 75 6e 61 |ason, yo|u're una|
|000046e0| 62 6c 65 20 74 6f 20 67 | 65 74 20 74 68 65 20 4a |ble to g|et the J|
|000046f0| 50 45 47 20 6c 69 62 72 | 61 72 79 20 74 6f 20 63 |PEG libr|ary to c|
|00004700| 6f 6d 70 69 6c 65 0a 23 | 20 6f 6e 20 79 6f 75 72 |ompile.#| on your|
|00004710| 20 6d 61 63 68 69 6e 65 | 2c 20 2a 43 4f 4d 4d 45 | machine|, *COMME|
|00004720| 4e 54 20 4f 55 54 2a 20 | 74 68 65 20 66 6f 6c 6c |NT OUT* |the foll|
|00004730| 6f 77 69 6e 67 20 6c 69 | 6e 65 73 0a 23 0a 24 28 |owing li|nes.#.$(|
|00004740| 4c 49 42 4a 50 45 47 29 | 3a 0a 09 28 20 63 64 20 |LIBJPEG)|:..( cd |
|00004750| 24 28 4a 50 45 47 44 49 | 52 29 20 3b 20 6d 61 6b |$(JPEGDI|R) ; mak|
|00004760| 65 20 43 43 3d 27 24 28 | 43 43 29 27 20 6c 69 62 |e CC='$(|CC)' lib|
|00004770| 6a 70 65 67 2e 61 20 29 | 0a 0a 23 20 69 66 2c 20 |jpeg.a )|..# if, |
|00004780| 66 6f 72 20 77 68 61 74 | 65 76 65 72 20 72 65 61 |for what|ever rea|
|00004790| 73 6f 6e 2c 20 79 6f 75 | 27 72 65 20 75 6e 61 62 |son, you|'re unab|
|000047a0| 6c 65 20 74 6f 20 67 65 | 74 20 74 68 65 20 54 49 |le to ge|t the TI|
|000047b0| 46 46 20 6c 69 62 72 61 | 72 79 20 74 6f 20 63 6f |FF libra|ry to co|
|000047c0| 6d 70 69 6c 65 0a 23 20 | 6f 6e 20 79 6f 75 72 20 |mpile.# |on your |
|000047d0| 6d 61 63 68 69 6e 65 2c | 20 2a 43 4f 4d 4d 45 4e |machine,| *COMMEN|
|000047e0| 54 20 4f 55 54 2a 20 74 | 68 65 20 66 6f 6c 6c 6f |T OUT* t|he follo|
|000047f0| 77 69 6e 67 20 6c 69 6e | 65 73 0a 23 0a 24 28 4c |wing lin|es.#.$(L|
|00004800| 49 42 54 49 46 46 29 3a | 0a 09 28 20 63 64 20 24 |IBTIFF):|..( cd $|
|00004810| 28 54 49 46 46 44 49 52 | 29 20 3b 20 6d 61 6b 65 |(TIFFDIR|) ; make|
|00004820| 20 43 43 3d 27 24 28 43 | 43 29 27 29 0a 0a 75 20 | CC='$(C|C)')..u |
|00004830| 61 72 65 20 72 75 6e 6e | 69 6e 67 20 6f 6e 20 61 |are runn|ing on a|
|00004840| 20 50 4f 53 49 58 2d 63 | 6f 6d 70 61 74 69 62 6c | POSIX-c|ompatibl|
|00004850| 65 20 6d 61 63 68 69 6e | 65 2c 20 73 75 63 68 20 |e machin|e, such |
|00004860| 61 73 20 61 6e 0a 23 20 | 49 42 4d 20 52 53 2f 36 |as an.# |IBM RS/6|
|00004870| 30 30 30 2c 20 79 6f 75 | 20 4d 41 59 20 6e 65 65 |000, you| MAY nee|
|00004880| 64 20 74 6f 20 75 6e 63 | 6f 6d 6d 65 6e 74 20 74 |d to unc|omment t|
|00004890| 68 65 20 27 4e 45 45 44 | 5f 44 49 52 45 4e 54 27 |he 'NEED|_DIRENT'|
|000048a0| 20 6c 69 6e 65 2e 0a 23 | 20 54 6f 20 64 65 74 65 | line..#| To dete|
|000048b0| 72 6d 69 6e 65 20 69 66 | 20 73 75 63 68 20 69 73 |rmine if| such is|
|000048c0| 20 74 68 65 20 63 61 73 | 65 2c 20 64 6f 20 61 20 | the cas|e, do a |
|000048d0| 27 6d 61 6e 20 72 65 61 | 64 64 69 72 27 20 6f 6e |'man rea|ddir' on|
|000048e0| 20 79 6f 75 72 20 6d 61 | 63 68 69 6e 65 2e 20 20 | your ma|chine. |
|000048f0| 49 66 0a 23 20 72 65 61 | 64 64 69 72 28 29 20 72 |If.# rea|ddir() r|
|00004900| 65 74 75 72 6e 73 20 61 | 20 70 6f 69 6e 74 65 72 |eturns a| pointer|
|00004910| 20 74 6f 20 27 73 74 72 | 75 63 74 20 64 69 72 65 | to 'str|uct dire|
|00004920| 63 74 27 2c 20 79 6f 75 | 20 77 69 6c 6c 20 6e 6f |ct', you| will no|
|00004930| 74 20 68 61 76 65 0a 23 | 20 74 6f 20 63 68 61 6e |t have.#| to chan|
|00004940| 67 65 20 61 6e 79 74 68 | 69 6e 67 2e 20 20 49 66 |ge anyth|ing. If|
|00004950| 2c 20 68 6f 77 65 76 65 | 72 2c 20 72 65 61 64 64 |, howeve|r, readd|
|00004960| 69 72 28 29 20 72 65 74 | 75 72 6e 73 20 61 20 70 |ir() ret|urns a p|
|00004970| 6f 69 6e 74 65 72 20 74 | 6f 0a 23 20 27 73 74 72 |ointer t|o.# 'str|
|00004980| 75 63 74 20 64 69 72 65 | 6e 74 27 2c 20 79 6f 75 |uct dire|nt', you|
|00004990| 20 77 69 6c 6c 20 68 61 | 76 65 20 74 6f 20 61 64 | will ha|ve to ad|
|000049a0| 64 20 74 68 65 20 27 2d | 44 44 49 52 45 4e 54 27 |d the '-|DDIRENT'|
|000049b0| 20 74 6f 20 43 46 4c 41 | 47 53 0a 23 0a 23 20 4f | to CFLA|GS.#.# O|
|000049c0| 6e 65 20 6e 6f 74 65 3a | 20 66 6f 6c 6b 73 20 75 |ne note:| folks u|
|000049d0| 73 69 6e 67 20 61 6e 20 | 49 42 4d 20 52 53 2f 36 |sing an |IBM RS/6|
|000049e0| 30 30 30 20 64 6f 6e 27 | 74 20 68 61 76 65 20 74 |000 don'|t have t|
|000049f0| 6f 20 74 6f 75 63 68 20 | 74 68 69 73 20 6c 69 6e |o touch |this lin|
|00004a00| 78 76 2d 32 2e 32 31 2f | 49 6d 61 6b 65 66 69 6c |xv-2.21/|Imakefil|
|00004a10| 65 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |e.......|........|
|00004a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a60| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 32 31 |.... 6|44 . 21|
|00004a70| 35 33 20 00 20 20 20 20 | 31 32 20 00 20 20 20 20 |53 . |12 . |
|00004a80| 20 20 31 37 36 37 34 20 | 20 35 31 37 37 35 37 30 | 17674 | 5177570|
|00004a90| 35 30 35 20 20 20 37 30 | 32 33 00 20 00 00 00 00 |505 70|23. ....|
|00004aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c00| 2f 2a 20 69 66 2c 20 66 | 6f 72 20 77 68 61 74 65 |/* if, f|or whate|
|00004c10| 76 65 72 20 72 65 61 73 | 6f 6e 2c 20 79 6f 75 27 |ver reas|on, you'|
|00004c20| 72 65 20 75 6e 61 62 6c | 65 20 74 6f 20 67 65 74 |re unabl|e to get|
|00004c30| 20 74 68 65 20 4a 50 45 | 47 20 6c 69 62 72 61 72 | the JPE|G librar|
|00004c40| 79 20 74 6f 20 63 6f 6d | 70 69 6c 65 0a 20 2a 20 |y to com|pile. * |
|00004c50| 6f 6e 20 79 6f 75 72 20 | 6d 61 63 68 69 6e 65 2c |on your |machine,|
|00004c60| 20 2a 43 4f 4d 4d 45 4e | 54 20 4f 55 54 2a 20 74 | *COMMEN|T OUT* t|
|00004c70| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6c 69 6e |he follo|wing lin|
|00004c80| 65 0a 20 2a 2f 0a 23 64 | 65 66 69 6e 65 20 48 61 |e. */.#d|efine Ha|
|00004c90| 76 65 4a 70 65 67 0a 0a | 0a 2f 2a 20 69 66 2c 20 |veJpeg..|./* if, |
|00004ca0| 66 6f 72 20 77 68 61 74 | 65 76 65 72 20 72 65 61 |for what|ever rea|
|00004cb0| 73 6f 6e 2c 20 79 6f 75 | 27 72 65 20 75 6e 61 62 |son, you|'re unab|
|00004cc0| 6c 65 20 74 6f 20 67 65 | 74 20 74 68 65 20 54 49 |le to ge|t the TI|
|00004cd0| 46 46 20 6c 69 62 72 61 | 72 79 20 74 6f 20 63 6f |FF libra|ry to co|
|00004ce0| 6d 70 69 6c 65 0a 20 2a | 20 6f 6e 20 79 6f 75 72 |mpile. *| on your|
|00004cf0| 20 6d 61 63 68 69 6e 65 | 2c 20 2a 43 4f 4d 4d 45 | machine|, *COMME|
|00004d00| 4e 54 20 4f 55 54 2a 20 | 74 68 65 20 66 6f 6c 6c |NT OUT* |the foll|
|00004d10| 6f 77 69 6e 67 20 6c 69 | 6e 65 0a 20 2a 2f 0a 23 |owing li|ne. */.#|
|00004d20| 64 65 66 69 6e 65 20 48 | 61 76 65 54 69 66 66 0a |define H|aveTiff.|
|00004d30| 0a 0a 2f 2a 20 69 66 2c | 20 66 6f 72 20 77 68 61 |../* if,| for wha|
|00004d40| 74 65 76 65 72 20 72 65 | 61 73 6f 6e 2c 20 79 6f |tever re|ason, yo|
|00004d50| 75 27 72 65 20 75 6e 61 | 62 6c 65 20 74 6f 20 67 |u're una|ble to g|
|00004d60| 65 74 20 74 68 65 20 50 | 44 53 2f 56 49 43 41 52 |et the P|DS/VICAR|
|00004d70| 20 73 75 70 70 6f 72 74 | 0a 20 2a 20 74 6f 20 63 | support|. * to c|
|00004d80| 6f 6d 70 69 6c 65 20 28 | 78 76 70 64 73 2e 63 2c |ompile (|xvpds.c,|
|00004d90| 20 61 6e 64 20 76 64 63 | 6f 6d 70 2e 63 29 2c 20 | and vdc|omp.c), |
|00004da0| 2a 43 4f 4d 4d 45 4e 54 | 20 4f 55 54 2a 20 74 68 |*COMMENT| OUT* th|
|00004db0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6c 69 6e 65 |e follow|ing line|
|00004dc0| 0a 20 2a 2f 0a 50 44 53 | 20 3d 20 2d 44 48 41 56 |. */.PDS| = -DHAV|
|00004dd0| 45 5f 50 44 53 0a 0a 0a | 2f 2a 20 69 66 2c 20 66 |E_PDS...|/* if, f|
|00004de0| 6f 72 20 77 68 61 74 65 | 76 65 72 20 72 65 61 73 |or whate|ver reas|
|00004df0| 6f 6e 2c 20 79 6f 75 20 | 64 6f 6e 27 74 20 77 69 |on, you |don't wi|
|00004e00| 73 68 20 74 6f 20 75 73 | 65 20 74 68 65 20 66 73 |sh to us|e the fs|
|00004e10| 51 75 69 63 6b 20 73 6f | 66 74 77 61 72 65 0a 20 |Quick so|ftware. |
|00004e20| 2a 20 28 77 68 69 63 68 | 20 63 75 72 72 65 6e 74 |* (which| current|
|00004e30| 6c 79 20 6f 6e 6c 79 20 | 61 66 66 65 63 74 73 20 |ly only |affects |
|00004e40| 78 76 27 73 20 70 65 72 | 66 6f 72 6d 61 6e 63 65 |xv's per|formance|
|00004e50| 20 6f 6e 20 61 20 31 2d | 62 69 74 20 64 69 73 70 | on a 1-|bit disp|
|00004e60| 6c 61 79 29 0a 20 2a 20 | 79 6f 75 20 73 68 6f 75 |lay). * |you shou|
|00004e70| 6c 64 20 63 6f 6d 6d 65 | 6e 74 20 6f 75 74 20 74 |ld comme|nt out t|
|00004e80| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6c 69 6e |he follo|wing lin|
|00004e90| 65 0a 20 2a 20 28 66 73 | 51 75 69 63 6b 2e 63 20 |e. * (fs|Quick.c |
|00004ea0| 63 6f 6e 74 61 69 6e 73 | 20 73 6f 6d 65 20 2a 68 |contains| some *h|
|00004eb0| 75 67 65 2a 20 6d 61 63 | 72 6f 20 64 65 66 69 6e |uge* mac|ro defin|
|00004ec0| 69 74 69 6f 6e 73 20 77 | 68 69 63 68 20 6d 69 67 |itions w|hich mig|
|00004ed0| 68 74 20 62 6c 6f 77 20 | 75 70 0a 20 2a 20 79 6f |ht blow |up. * yo|
|00004ee0| 75 72 20 43 20 70 72 65 | 70 72 6f 63 65 73 73 6f |ur C pre|processo|
|00004ef0| 72 29 0a 20 2a 2f 0a 46 | 53 51 55 49 43 4b 20 3d |r). */.F|SQUICK =|
|00004f00| 20 2d 44 48 41 56 45 5f | 46 53 51 55 49 43 4b 0a | -DHAVE_|FSQUICK.|
|00004f10| 0a 2f 2a 20 69 66 20 79 | 6f 75 20 61 72 65 20 72 |./* if y|ou are r|
|00004f20| 75 6e 6e 69 6e 67 20 75 | 6e 64 65 72 20 44 58 57 |unning u|nder DXW|
|00004f30| 4d 2c 20 49 20 70 69 74 | 79 20 79 6f 75 2e 20 20 |M, I pit|y you. |
|00004f40| 58 56 20 64 6f 65 73 6e | 27 74 20 77 6f 72 6b 20 |XV doesn|'t work |
|00004f50| 63 6f 72 72 65 63 74 6c | 79 0a 20 2a 20 75 6e 64 |correctl|y. * und|
|00004f60| 65 72 20 44 58 57 4d 2e | 20 20 59 6f 75 20 73 68 |er DXWM.| You sh|
|00004f70| 6f 75 6c 64 20 70 72 6f | 62 61 62 6c 79 20 62 65 |ould pro|bably be|
|00004f80| 20 72 75 6e 6e 69 6e 67 | 20 4d 57 4d 2e 20 20 48 | running| MWM. H|
|00004f90| 6f 77 65 76 65 72 2c 20 | 69 66 20 73 75 63 68 20 |owever, |if such |
|00004fa0| 69 73 0a 20 2a 20 6e 6f | 74 20 61 20 76 61 6c 69 |is. * no|t a vali|
|00004fb0| 64 20 6f 70 74 69 6f 6e | 20 66 6f 72 20 79 6f 75 |d option| for you|
|00004fc0| 2c 20 74 72 79 20 75 6e | 63 6f 6d 6d 65 6e 74 69 |, try un|commenti|
|00004fd0| 6e 67 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ng the f|ollowing|
|00004fe0| 20 6c 69 6e 65 2e 20 20 | 54 68 65 0a 20 2a 20 62 | line. |The. * b|
|00004ff0| 65 68 61 76 69 6f 72 20 | 77 6f 6e 27 74 20 62 65 |ehavior |won't be|
|00005000| 20 27 72 69 67 68 74 27 | 2c 20 62 75 74 20 69 74 | 'right'|, but it|
|00005010| 20 77 69 6c 6c 20 62 65 | 20 6c 65 73 73 20 27 77 | will be| less 'w|
|00005020| 72 6f 6e 67 27 2e 0a 20 | 2a 2f 0a 2f 2a 20 44 58 |rong'.. |*/./* DX|
|00005030| 57 4d 20 3d 20 2d 44 44 | 58 57 4d 20 2a 2f 0a 0a |WM = -DD|XWM */..|
|00005040| 2f 2a 0a 20 2a 20 69 66 | 20 79 6f 75 20 61 72 65 |/*. * if| you are|
|00005050| 20 72 75 6e 6e 69 6e 67 | 20 6f 6e 20 61 20 53 79 | running| on a Sy|
|00005060| 73 56 2d 62 61 73 65 64 | 20 6d 61 63 68 69 6e 65 |sV-based| machine|
|00005070| 2c 20 73 75 63 68 20 61 | 73 20 48 50 2c 20 53 69 |, such a|s HP, Si|
|00005080| 6c 69 63 6f 6e 20 47 72 | 61 70 68 69 63 73 2c 0a |licon Gr|aphics,.|
|00005090| 20 2a 20 65 74 63 2c 20 | 75 6e 63 6f 6d 6d 65 6e | * etc, |uncommen|
|000050a0| 74 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |t the fo|llowing |
|000050b0| 6c 69 6e 65 20 74 6f 20 | 67 65 74 20 79 6f 75 20 |line to |get you |
|000050c0| 2a 6d 6f 73 74 2a 20 6f | 66 20 74 68 65 20 77 61 |*most* o|f the wa|
|000050d0| 79 20 74 68 65 72 65 2e | 0a 20 2a 2f 0a 2f 2a 20 |y there.|. */./* |
|000050e0| 55 4e 49 58 20 3d 20 2d | 44 53 56 52 34 20 2a 2f |UNIX = -|DSVR4 */|
|000050f0| 0a 0a 2f 2a 0a 20 2a 20 | 49 66 20 79 6f 75 20 61 |../*. * |If you a|
|00005100| 72 65 20 72 75 6e 6e 69 | 6e 67 20 6f 6e 20 61 20 |re runni|ng on a |
|00005110| 50 4f 53 49 58 2d 63 6f | 6d 70 61 74 69 62 6c 65 |POSIX-co|mpatible|
|00005120| 20 6d 61 63 68 69 6e 65 | 2c 20 73 75 63 68 20 61 | machine|, such a|
|00005130| 73 20 61 6e 0a 20 2a 20 | 49 42 4d 20 52 53 36 30 |s an. * |IBM RS60|
|00005140| 30 30 2c 20 79 6f 75 20 | 4d 41 59 20 6e 65 65 64 |00, you |MAY need|
|00005150| 20 75 6e 63 6f 6d 6d 65 | 6e 74 20 74 68 65 20 27 | uncomme|nt the '|
|00005160| 4e 45 45 44 5f 44 49 52 | 45 4e 54 27 20 6c 69 6e |NEED_DIR|ENT' lin|
|00005170| 65 2e 0a 20 2a 20 54 6f | 20 64 65 74 65 72 6d 69 |e.. * To| determi|
|00005180| 6e 65 20 69 66 20 73 75 | 63 68 20 69 73 20 74 68 |ne if su|ch is th|
|00005190| 65 20 63 61 73 65 2c 20 | 64 6f 20 61 20 27 6d 61 |e case, |do a 'ma|
|000051a0| 6e 20 72 65 61 64 64 69 | 72 27 20 6f 6e 20 79 6f |n readdi|r' on yo|
|000051b0| 75 72 20 6d 61 63 68 69 | 6e 65 2e 20 20 49 66 0a |ur machi|ne. If.|
|000051c0| 20 2a 20 72 65 61 64 64 | 69 72 28 29 20 72 65 74 | * readd|ir() ret|
|000051d0| 75 72 6e 73 20 61 20 70 | 6f 69 6e 74 65 72 20 74 |urns a p|ointer t|
|000051e0| 6f 20 27 73 74 72 75 63 | 74 20 64 69 72 65 63 74 |o 'struc|t direct|
|000051f0| 27 2c 20 79 6f 75 20 77 | 69 6c 6c 20 6e 6f 74 20 |', you w|ill not |
|00005200| 68 61 76 65 0a 20 2a 20 | 74 6f 20 63 68 61 6e 67 |have. * |to chang|
|00005210| 65 20 61 6e 79 74 68 69 | 6e 67 2e 20 20 49 66 2c |e anythi|ng. If,|
|00005220| 20 68 6f 77 65 76 65 72 | 2c 20 72 65 61 64 64 69 | however|, readdi|
|00005230| 72 28 29 20 72 65 74 75 | 72 6e 73 20 61 20 70 6f |r() retu|rns a po|
|00005240| 69 6e 74 65 72 20 74 6f | 0a 20 2a 20 27 73 74 72 |inter to|. * 'str|
|00005250| 75 63 74 20 64 69 72 65 | 6e 74 27 2c 20 79 6f 75 |uct dire|nt', you|
|00005260| 20 77 69 6c 6c 20 68 61 | 76 65 20 74 6f 20 61 64 | will ha|ve to ad|
|00005270| 64 20 74 68 65 20 27 2d | 44 44 49 52 45 4e 54 27 |d the '-|DDIRENT'|
|00005280| 20 74 6f 20 43 46 4c 41 | 47 53 0a 20 2a 0a 20 2a | to CFLA|GS. *. *|
|00005290| 20 4f 6e 65 20 6e 6f 74 | 65 3a 20 66 6f 6c 6b 73 | One not|e: folks|
|000052a0| 20 75 73 69 6e 67 20 61 | 6e 20 49 42 4d 20 52 53 | using a|n IBM RS|
|000052b0| 2f 36 30 30 30 20 64 6f | 6e 27 74 20 68 61 76 65 |/6000 do|n't have|
|000052c0| 20 74 6f 20 74 6f 75 63 | 68 20 74 68 69 73 20 6c | to touc|h this l|
|000052d0| 69 6e 65 2e 20 20 0a 20 | 2a 20 20 20 20 20 20 20 |ine. . |* |
|000052e0| 20 20 20 20 49 20 63 68 | 65 63 6b 20 66 6f 72 20 | I ch|eck for |
|000052f0| 27 36 30 30 30 27 2d 68 | 6f 6f 64 20 69 6e 20 78 |'6000'-h|ood in x|
|00005300| 76 2e 68 0a 20 2a 2f 0a | 2f 2a 20 4e 45 45 44 5f |v.h. */.|/* NEED_|
|00005310| 44 49 52 45 4e 54 20 3d | 20 2d 44 44 49 52 45 4e |DIRENT =| -DDIREN|
|00005320| 54 20 2a 2f 0a 0a 0a 2f | 2a 20 49 66 20 79 6f 75 |T */.../|* If you|
|00005330| 72 20 6d 61 63 68 69 6e | 65 20 64 6f 65 73 6e 27 |r machin|e doesn'|
|00005340| 74 20 68 61 76 65 20 74 | 68 65 20 27 73 74 72 63 |t have t|he 'strc|
|00005350| 68 72 27 2c 20 27 6d 65 | 6d 73 65 74 27 20 61 6e |hr', 'me|mset' an|
|00005360| 64 20 27 6d 65 6d 63 70 | 79 27 0a 20 2a 20 66 75 |d 'memcp|y'. * fu|
|00005370| 6e 63 74 69 6f 6e 73 2c | 20 62 75 74 20 64 6f 65 |nctions,| but doe|
|00005380| 73 20 68 61 76 65 20 27 | 62 63 6f 70 79 27 2c 20 |s have '|bcopy', |
|00005390| 75 6e 63 6f 6d 6d 65 6e | 74 20 74 68 65 20 66 6f |uncommen|t the fo|
|000053a0| 6c 6c 6f 77 69 6e 67 20 | 6c 69 6e 65 3a 0a 20 2a |llowing |line:. *|
|000053b0| 2f 0a 2f 2a 20 55 53 45 | 4d 45 4d 3d 20 2d 44 4e |/./* USE|MEM= -DN|
|000053c0| 45 45 44 5f 4d 45 4d 52 | 4f 55 54 49 4e 45 53 20 |EED_MEMR|OUTINES |
|000053d0| 2a 2f 0a 0a 0a 2f 2a 20 | 49 46 20 59 4f 55 52 20 |*/.../* |IF YOUR |
|000053e0| 4d 41 43 48 49 4e 45 20 | 44 4f 45 53 4e 27 54 20 |MACHINE |DOESN'T |
|000053f0| 48 41 56 45 20 27 76 70 | 72 69 6e 74 66 28 29 27 |HAVE 'vp|rintf()'|
|00005400| 20 4f 52 20 27 76 73 70 | 72 69 6e 74 66 28 29 27 | OR 'vsp|rintf()'|
|00005410| 0a 20 2a 0a 20 2a 20 56 | 61 78 20 42 53 44 20 61 |. *. * V|ax BSD a|
|00005420| 6e 64 20 49 42 4d 20 41 | 4f 53 20 64 6f 6e 27 74 |nd IBM A|OS don't|
|00005430| 20 68 61 76 65 20 76 70 | 72 69 6e 74 66 20 6f 72 | have vp|rintf or|
|00005440| 20 76 73 70 72 69 6e 74 | 66 2e 0a 20 2a 20 4e 6f | vsprint|f.. * No|
|00005450| 74 65 20 74 68 61 74 20 | 6f 75 72 20 6c 6f 63 61 |te that |our loca|
|00005460| 6c 20 6c 69 62 72 61 72 | 79 20 76 65 72 73 69 6f |l librar|y versio|
|00005470| 6e 73 20 6f 66 20 73 70 | 72 69 6e 74 66 20 68 61 |ns of sp|rintf ha|
|00005480| 76 65 20 62 65 65 6e 20 | 75 70 64 61 74 65 64 0a |ve been |updated.|
|00005490| 20 2a 20 74 6f 20 72 65 | 74 75 72 6e 20 69 6e 74 | * to re|turn int|
|000054a0| 2c 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |, the nu|mber of |
|000054b0| 63 68 61 72 61 63 74 65 | 72 73 20 69 6e 20 74 68 |characte|rs in th|
|000054c0| 65 20 66 6f 72 6d 61 74 | 74 65 64 20 73 74 72 69 |e format|ted stri|
|000054d0| 6e 67 2c 0a 20 2a 20 77 | 68 65 72 65 61 73 20 74 |ng,. * w|hereas t|
|000054e0| 68 65 20 76 65 72 73 69 | 6f 6e 73 20 69 6e 20 73 |he versi|ons in s|
|000054f0| 74 6f 63 6b 20 34 2e 33 | 42 53 44 20 64 6f 20 6e |tock 4.3|BSD do n|
|00005500| 6f 74 20 73 6f 20 72 65 | 74 75 72 6e 2e 20 20 59 |ot so re|turn. Y|
|00005510| 6f 75 20 6d 61 79 0a 20 | 2a 20 68 61 76 65 20 74 |ou may. |* have t|
|00005520| 6f 20 72 65 6d 6f 76 65 | 20 74 68 65 20 22 2d 44 |o remove| the "-D|
|00005530| 49 4e 54 53 50 52 49 4e | 54 46 22 20 62 65 6c 6f |INTSPRIN|TF" belo|
|00005540| 77 20 69 66 20 79 6f 75 | 27 72 65 20 63 6f 6d 70 |w if you|'re comp|
|00005550| 69 6c 69 6e 67 20 66 6f | 72 0a 20 2a 20 73 74 6f |iling fo|r. * sto|
|00005560| 63 6b 20 34 2e 33 42 53 | 44 20 6f 72 20 66 6f 72 |ck 4.3BS|D or for|
|00005570| 20 73 6f 6d 65 20 6f 74 | 68 65 72 20 56 61 78 20 | some ot|her Vax |
|00005580| 6f 72 20 52 54 20 6c 69 | 62 72 61 72 79 20 70 61 |or RT li|brary pa|
|00005590| 63 6b 61 67 65 20 77 68 | 65 72 65 0a 20 2a 20 73 |ckage wh|ere. * s|
|000055a0| 70 72 69 6e 74 66 20 72 | 65 74 75 72 6e 73 20 63 |printf r|eturns c|
|000055b0| 68 61 72 20 2a 2e 0a 20 | 2a 0a 20 2a 20 41 6c 73 |har *.. |*. * Als|
|000055c0| 6f 2c 20 49 20 64 65 66 | 69 6e 65 20 4e 4f 56 4f |o, I def|ine NOVO|
|000055d0| 49 44 20 6f 6e 20 74 68 | 65 20 56 61 78 20 62 65 |ID on th|e Vax be|
|000055e0| 63 61 75 73 65 20 49 27 | 6d 20 75 73 69 6e 67 20 |cause I'|m using |
|000055f0| 70 63 63 20 74 6f 20 63 | 6f 6d 70 69 6c 65 2e 0a |pcc to c|ompile..|
|00005600| 20 2a 20 49 66 20 79 6f | 75 20 75 73 65 20 67 63 | * If yo|u use gc|
|00005610| 63 20 6f 72 20 73 6f 6d | 65 20 6f 74 68 65 72 20 |c or som|e other |
|00005620| 62 65 74 74 65 72 20 63 | 6f 6d 70 69 6c 65 72 2c |better c|ompiler,|
|00005630| 20 74 68 69 73 20 73 68 | 6f 75 6c 64 20 6e 6f 74 | this sh|ould not|
|00005640| 20 62 65 0a 20 2a 20 6e | 65 63 65 73 73 61 72 79 | be. * n|ecessary|
|00005650| 2e 20 20 49 20 64 65 66 | 69 6e 65 20 4e 4f 53 54 |. I def|ine NOST|
|00005660| 44 48 44 52 53 20 6f 6e | 20 74 68 65 20 52 54 20 |DHDRS on| the RT |
|00005670| 62 65 63 61 75 73 65 20 | 77 65 20 64 6f 6e 27 74 |because |we don't|
|00005680| 20 68 61 76 65 0a 20 2a | 20 73 74 61 6e 64 61 72 | have. *| standar|
|00005690| 64 20 41 4e 53 49 20 68 | 65 61 64 65 72 20 66 69 |d ANSI h|eader fi|
|000056a0| 6c 65 73 20 69 6e 73 74 | 61 6c 6c 65 64 20 66 6f |les inst|alled fo|
|000056b0| 72 20 74 68 65 20 52 54 | 2c 20 65 76 65 6e 20 74 |r the RT|, even t|
|000056c0| 68 6f 75 67 68 20 74 68 | 65 20 52 54 0a 20 2a 20 |hough th|e RT. * |
|000056d0| 63 6f 6d 70 69 6c 65 72 | 20 63 6c 61 69 6d 73 20 |compiler| claims |
|000056e0| 74 6f 20 62 65 20 41 4e | 53 49 2d 63 6f 6d 70 6c |to be AN|SI-compl|
|000056f0| 69 61 6e 74 2e 0a 20 2a | 2f 0a 23 69 66 20 64 65 |iant.. *|/.#if de|
|00005700| 66 69 6e 65 64 28 56 61 | 78 41 72 63 68 69 74 65 |fined(Va|xArchite|
|00005710| 63 74 75 72 65 29 20 26 | 26 20 21 64 65 66 69 6e |cture) &|& !defin|
|00005720| 65 64 28 55 6c 74 72 69 | 78 41 72 63 68 69 74 65 |ed(Ultri|xArchite|
|00005730| 63 74 75 72 65 29 0a 56 | 50 52 49 4e 54 46 3d 09 |cture).V|PRINTF=.|
|00005740| 2d 44 4e 45 45 44 5f 56 | 50 52 49 4e 54 46 20 2d |-DNEED_V|PRINTF -|
|00005750| 44 49 4e 54 53 50 52 49 | 4e 54 46 20 2d 44 4c 4f |DINTSPRI|NTF -DLO|
|00005760| 4e 47 49 4e 54 20 2d 44 | 4e 4f 56 4f 49 44 0a 23 |NGINT -D|NOVOID.#|
|00005770| 65 6c 73 65 20 0a 23 20 | 20 69 66 20 64 65 66 69 |else .# | if defi|
|00005780| 6e 65 64 28 52 74 41 72 | 63 68 69 74 65 63 74 75 |ned(RtAr|chitectu|
|00005790| 72 65 29 20 26 26 20 21 | 64 65 66 69 6e 65 64 28 |re) && !|defined(|
|000057a0| 41 49 58 41 72 63 68 69 | 74 65 63 74 75 72 65 29 |AIXArchi|tecture)|
|000057b0| 0a 56 50 52 49 4e 54 46 | 3d 09 2d 44 4e 45 45 44 |.VPRINTF|=.-DNEED|
|000057c0| 5f 56 50 52 49 4e 54 46 | 20 2d 44 49 4e 54 53 50 |_VPRINTF| -DINTSP|
|000057d0| 52 49 4e 54 46 20 2d 44 | 4c 4f 4e 47 49 4e 54 20 |RINTF -D|LONGINT |
|000057e0| 2d 44 4e 4f 53 54 44 48 | 44 52 53 0a 23 20 20 65 |-DNOSTDH|DRS.# e|
|000057f0| 6c 73 65 0a 23 20 20 20 | 20 69 66 20 64 65 66 69 |lse.# | if defi|
|00005800| 6e 65 64 28 53 65 71 75 | 65 6e 74 41 72 63 68 69 |ned(Sequ|entArchi|
|00005810| 74 65 63 74 75 72 65 29 | 0a 56 50 52 49 4e 54 46 |tecture)|.VPRINTF|
|00005820| 3d 20 2d 44 4e 45 45 44 | 5f 56 50 52 49 4e 54 46 |= -DNEED|_VPRINTF|
|00005830| 20 2d 44 4c 4f 4e 47 49 | 4e 54 20 2d 44 4e 4f 53 | -DLONGI|NT -DNOS|
|00005840| 54 44 48 44 52 53 0a 23 | 20 20 20 20 65 6e 64 69 |TDHDRS.#| endi|
|00005850| 66 0a 23 20 20 65 6e 64 | 69 66 0a 23 65 6e 64 69 |f.# end|if.#endi|
|00005860| 66 0a 0a 0a 2f 2a 20 49 | 66 20 79 6f 75 72 20 6d |f.../* I|f your m|
|00005870| 61 63 68 69 6e 65 20 64 | 6f 65 73 20 6e 6f 74 20 |achine d|oes not |
|00005880| 68 61 76 65 20 74 68 65 | 20 27 73 65 74 69 74 69 |have the| 'setiti|
|00005890| 6d 65 72 28 29 27 20 63 | 61 6c 6c 2c 20 62 75 74 |mer()' c|all, but|
|000058a0| 20 64 6f 65 73 0a 20 2a | 20 68 61 76 65 20 74 68 | does. *| have th|
|000058b0| 65 20 27 75 73 6c 65 65 | 70 28 29 27 20 63 61 6c |e 'uslee|p()' cal|
|000058c0| 6c 2c 20 75 6e 63 6f 6d | 6d 65 6e 74 20 74 68 65 |l, uncom|ment the|
|000058d0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6c 69 6e 65 3a | followi|ng line:|
|000058e0| 0a 20 2a 2f 0a 2f 2a 20 | 54 49 4d 45 52 53 20 3d |. */./* |TIMERS =|
|000058f0| 20 2d 44 55 53 4c 45 45 | 50 20 2a 2f 0a 2f 2a 0a | -DUSLEE|P */./*.|
|00005900| 20 2a 20 61 6c 74 65 72 | 6e 61 74 65 6c 79 2c 20 | * alter|nately, |
|00005910| 69 66 20 79 6f 75 72 20 | 6d 61 63 68 69 6e 65 20 |if your |machine |
|00005920| 64 6f 65 73 20 6e 6f 74 | 20 68 61 76 65 20 45 49 |does not| have EI|
|00005930| 54 48 45 52 20 74 68 65 | 20 27 73 65 74 69 74 69 |THER the| 'setiti|
|00005940| 6d 65 72 28 29 27 20 6f | 72 0a 20 2a 20 74 68 65 |mer()' o|r. * the|
|00005950| 20 27 75 73 6c 65 65 70 | 28 29 27 20 63 61 6c 6c | 'usleep|()' call|
|00005960| 2c 20 75 6e 63 6f 6d 6d | 65 6e 74 20 74 68 65 20 |, uncomm|ent the |
|00005970| 66 6f 6c 6c 6f 77 69 6e | 67 20 6c 69 6e 65 3a 0a |followin|g line:.|
|00005980| 20 2a 2f 0a 2f 2a 20 54 | 49 4d 45 52 53 20 3d 20 | */./* T|IMERS = |
|00005990| 2d 44 4e 4f 54 49 4d 45 | 52 20 2a 2f 0a 0a 0a 2f |-DNOTIME|R */.../|
|000059a0| 2a 20 49 66 20 79 6f 75 | 20 61 72 65 20 75 73 69 |* If you| are usi|
|000059b0| 6e 67 20 61 6e 20 41 54 | 26 54 20 6d 61 63 68 69 |ng an AT|&T machi|
|000059c0| 6e 65 2c 20 75 6e 63 6f | 6d 6d 65 6e 74 20 74 68 |ne, unco|mment th|
|000059d0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6c 69 6e 65 |e follow|ing line|
|000059e0| 0a 20 2a 20 49 66 20 79 | 6f 75 20 68 61 76 65 20 |. * If y|ou have |
|000059f0| 70 72 6f 62 6c 65 6d 73 | 20 63 6f 6d 70 69 6c 69 |problems| compili|
|00005a00| 6e 67 20 78 76 2e 63 20 | 61 6e 64 20 78 76 64 69 |ng xv.c |and xvdi|
|00005a10| 72 2e 63 20 62 65 63 61 | 75 73 65 20 6f 66 20 74 |r.c beca|use of t|
|00005a20| 68 65 20 44 49 52 0a 20 | 2a 20 72 65 66 65 72 65 |he DIR. |* refere|
|00005a30| 6e 63 65 20 69 6e 20 64 | 69 72 65 6e 74 2e 68 2c |nce in d|irent.h,|
|00005a40| 20 61 70 70 65 6e 64 20 | 27 2d 44 41 54 54 27 20 | append |'-DATT' |
|00005a50| 74 6f 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |to the f|ollowing|
|00005a60| 20 6c 69 6e 65 3a 0a 20 | 2a 2f 0a 2f 2a 20 41 54 | line:. |*/./* AT|
|00005a70| 54 20 3d 20 2d 44 53 56 | 52 34 20 2d 44 44 49 52 |T = -DSV|R4 -DDIR|
|00005a80| 45 4e 54 20 2d 44 55 53 | 4c 45 45 50 20 2d 44 41 |ENT -DUS|LEEP -DA|
|00005a90| 54 54 20 2a 2f 0a 0a 0a | 2f 2a 20 49 66 20 79 6f |TT */...|/* If yo|
|00005aa0| 75 20 61 72 65 20 75 73 | 69 6e 67 20 61 6e 20 48 |u are us|ing an H|
|00005ab0| 50 20 72 75 6e 6e 69 6e | 67 20 48 50 55 58 20 37 |P runnin|g HPUX 7|
|00005ac0| 2e 30 2c 20 75 6e 63 6f | 6d 6d 65 6e 74 20 74 68 |.0, unco|mment th|
|00005ad0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6c 69 6e 65 |e follow|ing line|
|00005ae0| 0a 20 2a 2f 0a 2f 2a 20 | 48 50 55 58 37 20 3d 20 |. */./* |HPUX7 = |
|00005af0| 2d 44 53 56 52 34 20 2d | 44 41 54 54 20 2b 4e 73 |-DSVR4 -|DATT +Ns|
|00005b00| 34 30 30 30 20 2d 44 48 | 50 55 58 37 20 2a 2f 0a |4000 -DH|PUX7 */.|
|00005b10| 0a 0a 2f 2a 20 66 6f 72 | 20 55 4d 41 58 20 56 20 |../* for| UMAX V |
|00005b20| 62 79 20 45 6e 63 6f 72 | 65 20 43 6f 6d 70 75 74 |by Encor|e Comput|
|00005b30| 65 72 73 20 75 6e 63 6f | 6d 6d 65 6e 74 20 74 68 |ers unco|mment th|
|00005b40| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6c 69 6e 65 |e follow|ing line|
|00005b50| 20 66 6f 72 0a 20 2a 20 | 74 68 65 20 70 6f 72 74 | for. * |the port|
|00005b60| 61 62 6c 65 20 63 20 63 | 6f 6d 70 69 6c 65 72 2c |able c c|ompiler,|
|00005b70| 20 61 6e 64 20 73 79 73 | 74 65 6d 20 73 70 65 63 | and sys|tem spec|
|00005b80| 69 66 69 63 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |ific def|initions|
|00005b90| 2e 0a 20 20 2a 20 4e 6f | 20 6f 74 68 65 72 20 73 |.. * No| other s|
|00005ba0| 77 69 74 63 68 65 73 20 | 73 68 6f 75 6c 64 20 62 |witches |should b|
|00005bb0| 65 20 6e 65 63 65 73 73 | 61 72 79 0a 20 2a 2f 0a |e necess|ary. */.|
|00005bc0| 2f 2a 20 55 4d 41 58 20 | 3d 20 2d 71 20 65 78 74 |/* UMAX |= -q ext|
|00005bd0| 65 6e 73 69 6f 6e 73 3d | 70 63 63 5f 63 20 2d 44 |ensions=|pcc_c -D|
|00005be0| 5f 5f 55 4d 41 58 56 5f | 5f 20 2d 44 53 56 52 34 |__UMAXV_|_ -DSVR4|
|00005bf0| 20 2d 44 44 49 52 45 4e | 54 20 2a 2f 0a 0a 2f 2a | -DDIREN|T */../*|
|00005c00| 20 49 66 20 79 6f 75 72 | 20 6d 61 63 68 69 6e 65 | If your| machine|
|00005c10| 20 64 6f 65 73 6e 27 74 | 20 68 61 76 65 20 74 68 | doesn't| have th|
|00005c20| 65 20 27 72 61 6e 64 6f | 6d 28 29 27 20 66 75 6e |e 'rando|m()' fun|
|00005c30| 63 74 69 6f 6e 2c 20 61 | 6e 64 20 6f 6e 6c 79 0a |ction, a|nd only.|
|00005c40| 20 2a 20 68 61 73 20 27 | 72 61 6e 64 28 29 27 2c | * has '|rand()',|
|00005c50| 20 75 6e 63 6f 6d 6d 65 | 6e 74 20 74 68 65 20 66 | uncomme|nt the f|
|00005c60| 6f 6c 6c 6f 77 69 6e 67 | 20 6c 69 6e 65 3a 0a 20 |ollowing| line:. |
|00005c70| 2a 2f 0a 2f 2a 20 52 41 | 4e 44 3d 20 2d 44 4e 4f |*/./* RA|ND= -DNO|
|00005c80| 5f 52 41 4e 44 4f 4d 20 | 2a 2f 0a 0a 2f 2a 20 54 |_RANDOM |*/../* T|
|00005c90| 68 69 73 20 73 68 6f 75 | 6c 64 20 6d 61 72 6b 20 |his shou|ld mark |
|00005ca0| 74 68 65 20 65 6e 64 20 | 6f 66 20 74 68 65 20 63 |the end |of the c|
|00005cb0| 6f 6e 66 69 67 75 72 61 | 74 69 6f 6e 20 70 61 72 |onfigura|tion par|
|00005cc0| 61 6d 65 74 65 72 73 20 | 2a 2f 0a 0a 23 69 66 64 |ameters |*/..#ifd|
|00005cd0| 65 66 20 48 61 76 65 4a | 70 65 67 0a 4a 50 45 47 |ef HaveJ|peg.JPEG|
|00005ce0| 20 3d 20 2d 44 48 41 56 | 45 5f 4a 50 45 47 0a 4a | = -DHAV|E_JPEG.J|
|00005cf0| 50 45 47 44 49 52 20 3d | 20 6a 70 65 67 0a 4c 49 |PEGDIR =| jpeg.LI|
|00005d00| 42 4a 50 45 47 20 3d 20 | 24 28 4a 50 45 47 44 49 |BJPEG = |$(JPEGDI|
|00005d10| 52 29 2f 6c 69 62 6a 70 | 65 67 2e 61 0a 4a 50 45 |R)/libjp|eg.a.JPE|
|00005d20| 47 49 4e 43 4c 55 44 45 | 20 3d 20 2d 49 24 28 4a |GINCLUDE| = -I$(J|
|00005d30| 50 45 47 44 49 52 29 0a | 23 65 6e 64 69 66 0a 0a |PEGDIR).|#endif..|
|00005d40| 23 69 66 64 65 66 20 48 | 61 76 65 54 69 66 66 0a |#ifdef H|aveTiff.|
|00005d50| 54 49 46 46 20 3d 20 2d | 44 48 41 56 45 5f 54 49 |TIFF = -|DHAVE_TI|
|00005d60| 46 46 0a 54 49 46 46 44 | 49 52 20 3d 20 74 69 66 |FF.TIFFD|IR = tif|
|00005d70| 66 0a 4c 49 42 54 49 46 | 46 20 3d 20 24 28 54 49 |f.LIBTIF|F = $(TI|
|00005d80| 46 46 44 49 52 29 2f 6c | 69 62 74 69 66 66 2e 61 |FFDIR)/l|ibtiff.a|
|00005d90| 0a 54 49 46 46 49 4e 43 | 4c 55 44 45 20 3d 20 2d |.TIFFINC|LUDE = -|
|00005da0| 49 24 28 54 49 46 46 44 | 49 52 29 0a 23 65 6e 64 |I$(TIFFD|IR).#end|
|00005db0| 69 66 0a 0a 23 69 66 20 | 64 65 66 69 6e 65 64 28 |if..#if |defined(|
|00005dc0| 53 43 4f 41 72 63 68 69 | 74 65 63 74 75 72 65 29 |SCOArchi|tecture)|
|00005dd0| 0a 53 43 4f 3d 20 2d 44 | 50 4f 53 49 58 20 2d 44 |.SCO= -D|POSIX -D|
|00005de0| 4e 4f 49 54 49 4d 45 52 | 0a 53 59 53 5f 4c 49 42 |NOITIMER|.SYS_LIB|
|00005df0| 52 41 52 49 45 53 3d 20 | 20 20 20 20 20 20 20 24 |RARIES= | $|
|00005e00| 28 58 4c 49 42 29 20 24 | 28 4c 49 42 4a 50 45 47 |(XLIB) $|(LIBJPEG|
|00005e10| 29 20 24 28 4c 49 42 54 | 49 46 46 29 20 2d 6c 6d |) $(LIBT|IFF) -lm|
|00005e20| 20 2d 6c 63 20 2d 6c 78 | 20 0a 23 65 6c 73 65 0a | -lc -lx| .#else.|
|00005e30| 53 59 53 5f 4c 49 42 52 | 41 52 49 45 53 3d 20 20 |SYS_LIBR|ARIES= |
|00005e40| 20 20 20 20 20 20 24 28 | 58 4c 49 42 29 20 24 28 | $(|XLIB) $(|
|00005e50| 4c 49 42 4a 50 45 47 29 | 20 24 28 4c 49 42 54 49 |LIBJPEG)| $(LIBTI|
|00005e60| 46 46 29 20 2d 6c 6d 0a | 23 65 6e 64 69 66 0a 0a |FF) -lm.|#endif..|
|00005e70| 0a 44 45 46 49 4e 45 53 | 3d 20 24 28 53 43 4f 29 |.DEFINES|= $(SCO)|
|00005e80| 20 24 28 55 4e 49 58 29 | 20 24 28 4e 45 45 44 5f | $(UNIX)| $(NEED_|
|00005e90| 44 49 52 45 4e 54 29 20 | 24 28 56 50 52 49 4e 54 |DIRENT) |$(VPRINT|
|00005ea0| 46 29 20 24 28 54 49 4d | 45 52 53 29 20 24 28 41 |F) $(TIM|ERS) $(A|
|00005eb0| 54 54 29 20 5c 0a 09 24 | 28 55 53 45 4d 45 4d 29 |TT) \..$|(USEMEM)|
|00005ec0| 20 24 28 48 50 55 58 37 | 29 20 24 28 4a 50 45 47 | $(HPUX7|) $(JPEG|
|00005ed0| 29 20 24 28 44 58 57 4d | 29 20 24 28 55 4d 41 58 |) $(DXWM|) $(UMAX|
|00005ee0| 29 20 5c 0a 09 24 28 46 | 53 51 55 49 43 4b 29 20 |) \..$(F|SQUICK) |
|00005ef0| 24 28 52 41 4e 44 29 20 | 24 28 54 49 46 46 29 20 |$(RAND) |$(TIFF) |
|00005f00| 24 28 50 44 53 29 0a 0a | 49 4e 43 4c 55 44 45 53 |$(PDS)..|INCLUDES|
|00005f10| 20 3d 20 24 28 4a 50 45 | 47 49 4e 43 4c 55 44 45 | = $(JPE|GINCLUDE|
|00005f20| 29 20 24 28 54 49 46 46 | 49 4e 43 4c 55 44 45 29 |) $(TIFF|INCLUDE)|
|00005f30| 0a 0a 42 49 54 4d 41 50 | 53 20 3d 20 62 69 74 6d |..BITMAP|S = bitm|
|00005f40| 61 70 73 2f 67 72 61 73 | 70 20 62 69 74 6d 61 70 |aps/gras|p bitmap|
|00005f50| 73 2f 70 65 6e 6e 20 62 | 69 74 6d 61 70 73 2f 64 |s/penn b|itmaps/d|
|00005f60| 6f 77 6e 20 62 69 74 6d | 61 70 73 2f 64 6f 77 6e |own bitm|aps/down|
|00005f70| 31 20 5c 0a 09 20 20 62 | 69 74 6d 61 70 73 2f 75 |1 \.. b|itmaps/u|
|00005f80| 70 20 62 69 74 6d 61 70 | 73 2f 75 70 31 20 62 69 |p bitmap|s/up1 bi|
|00005f90| 74 6d 61 70 73 2f 73 63 | 72 6c 67 72 61 79 20 62 |tmaps/sc|rlgray b|
|00005fa0| 69 74 6d 61 70 73 2f 67 | 72 61 79 35 30 20 5c 0a |itmaps/g|ray50 \.|
|00005fb0| 09 20 20 62 69 74 6d 61 | 70 73 2f 67 72 61 79 32 |. bitma|ps/gray2|
|00005fc0| 35 20 62 69 74 6d 61 70 | 73 2f 69 5f 66 69 66 6f |5 bitmap|s/i_fifo|
|00005fd0| 20 62 69 74 6d 61 70 73 | 2f 69 5f 63 68 72 20 62 | bitmaps|/i_chr b|
|00005fe0| 69 74 6d 61 70 73 2f 69 | 5f 64 69 72 20 5c 0a 09 |itmaps/i|_dir \..|
|00005ff0| 20 20 62 69 74 6d 61 70 | 73 2f 69 5f 62 6c 6b 20 | bitmap|s/i_blk |
|00006000| 62 69 74 6d 61 70 73 2f | 69 5f 6c 6e 6b 20 62 69 |bitmaps/|i_lnk bi|
|00006010| 74 6d 61 70 73 2f 69 5f | 73 6f 63 6b 20 62 69 74 |tmaps/i_|sock bit|
|00006020| 6d 61 70 73 2f 69 5f 72 | 65 67 20 5c 0a 09 20 20 |maps/i_r|eg \.. |
|00006030| 62 69 74 6d 61 70 73 2f | 72 62 5f 6f 66 66 20 62 |bitmaps/|rb_off b|
|00006040| 69 74 6d 61 70 73 2f 72 | 62 5f 6f 6e 20 62 69 74 |itmaps/r|b_on bit|
|00006050| 6d 61 70 73 2f 72 62 5f | 6f 66 66 31 20 62 69 74 |maps/rb_|off1 bit|
|00006060| 6d 61 70 73 2f 72 62 5f | 6f 6e 31 20 5c 0a 09 20 |maps/rb_|on1 \.. |
|00006070| 20 62 69 74 6d 61 70 73 | 2f 66 63 5f 6c 65 66 74 | bitmaps|/fc_left|
|00006080| 20 62 69 74 6d 61 70 73 | 2f 66 63 5f 6c 65 66 74 | bitmaps|/fc_left|
|00006090| 6d 20 62 69 74 6d 61 70 | 73 2f 66 63 5f 6d 69 64 |m bitmap|s/fc_mid|
|000060a0| 20 62 69 74 6d 61 70 73 | 2f 66 63 5f 6d 69 64 6d | bitmaps|/fc_midm|
|000060b0| 20 5c 0a 09 20 20 62 69 | 74 6d 61 70 73 2f 66 63 | \.. bi|tmaps/fc|
|000060c0| 5f 72 69 67 68 74 20 62 | 69 74 6d 61 70 73 2f 66 |_right b|itmaps/f|
|000060d0| 63 5f 72 69 67 68 74 6d | 20 62 69 74 6d 61 70 73 |c_rightm| bitmaps|
|000060e0| 2f 66 63 5f 6c 65 66 74 | 31 20 5c 0a 09 20 20 62 |/fc_left|1 \.. b|
|000060f0| 69 74 6d 61 70 73 2f 66 | 63 5f 6c 65 66 74 31 6d |itmaps/f|c_left1m|
|00006100| 20 62 69 74 6d 61 70 73 | 2f 66 63 5f 72 69 67 68 | bitmaps|/fc_righ|
|00006110| 74 31 20 62 69 74 6d 61 | 70 73 2f 66 63 5f 72 69 |t1 bitma|ps/fc_ri|
|00006120| 67 68 74 31 6d 20 5c 0a | 09 20 20 62 69 74 6d 61 |ght1m \.|. bitma|
|00006130| 70 73 2f 69 63 6f 6e 20 | 62 69 74 6d 61 70 73 2f |ps/icon |bitmaps/|
|00006140| 64 69 61 6c 5f 63 77 31 | 20 62 69 74 6d 61 70 73 |dial_cw1| bitmaps|
|00006150| 2f 64 69 61 6c 5f 63 77 | 32 20 62 69 74 6d 61 70 |/dial_cw|2 bitmap|
|00006160| 73 2f 64 69 61 6c 5f 63 | 63 77 31 20 5c 0a 09 20 |s/dial_c|cw1 \.. |
|00006170| 20 62 69 74 6d 61 70 73 | 2f 64 69 61 6c 5f 63 63 | bitmaps|/dial_cc|
|00006180| 77 32 20 62 69 74 6d 61 | 70 73 2f 69 63 6f 6e 6d |w2 bitma|ps/iconm|
|00006190| 61 73 6b 20 62 69 74 6d | 61 70 73 2f 67 66 31 5f |ask bitm|aps/gf1_|
|000061a0| 61 64 64 68 20 5c 0a 09 | 20 20 62 69 74 6d 61 70 |addh \..| bitmap|
|000061b0| 73 2f 67 66 31 5f 64 65 | 6c 68 20 62 69 74 6d 61 |s/gf1_de|lh bitma|
|000061c0| 70 73 2f 67 66 31 5f 6c | 69 6e 65 20 62 69 74 6d |ps/gf1_l|ine bitm|
|000061d0| 61 70 73 2f 67 66 31 5f | 72 73 74 20 5c 0a 09 20 |aps/gf1_|rst \.. |
|000061e0| 20 62 69 74 6d 61 70 73 | 2f 67 66 31 5f 73 70 6c | bitmaps|/gf1_spl|
|000061f0| 6e 20 62 69 74 6d 61 70 | 73 2f 67 66 31 5f 67 61 |n bitmap|s/gf1_ga|
|00006200| 6d 6d 61 20 5c 0a 09 20 | 20 62 69 74 6d 61 70 73 |mma \.. | bitmaps|
|00006210| 2f 68 5f 72 6f 74 6c 20 | 62 69 74 6d 61 70 73 2f |/h_rotl |bitmaps/|
|00006220| 68 5f 72 6f 74 72 20 62 | 69 74 6d 61 70 73 2f 68 |h_rotr b|itmaps/h|
|00006230| 5f 73 69 6e 63 20 62 69 | 74 6d 61 70 73 2f 68 5f |_sinc bi|tmaps/h_|
|00006240| 73 64 65 63 20 5c 0a 09 | 20 20 62 69 74 6d 61 70 |sdec \..| bitmap|
|00006250| 73 2f 68 5f 66 6c 69 70 | 20 62 69 74 6d 61 70 73 |s/h_flip| bitmaps|
|00006260| 2f 63 62 5f 6f 66 66 20 | 62 69 74 6d 61 70 73 2f |/cb_off |bitmaps/|
|00006270| 63 62 5f 6f 6e 20 62 69 | 74 6d 61 70 73 2f 63 62 |cb_on bi|tmaps/cb|
|00006280| 5f 6f 66 66 31 20 5c 0a | 09 20 20 62 69 74 6d 61 |_off1 \.|. bitma|
|00006290| 70 73 2f 63 62 5f 6f 6e | 31 20 62 69 74 6d 61 70 |ps/cb_on|1 bitmap|
|000062a0| 73 2f 68 5f 73 61 74 20 | 62 69 74 6d 61 70 73 2f |s/h_sat |bitmaps/|
|000062b0| 68 5f 64 65 73 61 74 20 | 62 69 74 6d 61 70 73 2f |h_desat |bitmaps/|
|000062c0| 72 6f 6f 74 5f 77 65 61 | 76 65 20 5c 0a 20 20 20 |root_wea|ve \. |
|000062d0| 20 20 20 20 20 20 20 62 | 69 74 6d 61 70 73 2f 63 | b|itmaps/c|
|000062e0| 62 6f 61 72 64 35 30 20 | 62 69 74 6d 61 70 73 2f |board50 |bitmaps/|
|000062f0| 6d 62 5f 63 68 6b 20 62 | 69 74 6d 61 70 73 2f 66 |mb_chk b|itmaps/f|
|00006300| 6c 69 70 68 20 62 69 74 | 6d 61 70 73 2f 66 6c 69 |liph bit|maps/fli|
|00006310| 70 76 0a 0a 0a 53 52 43 | 53 31 20 3d 09 78 76 2e |pv...SRC|S1 =.xv.|
|00006320| 63 20 78 76 65 76 65 6e | 74 2e 63 20 78 76 72 6f |c xveven|t.c xvro|
|00006330| 6f 74 2e 63 20 78 76 6d | 69 73 63 2e 63 20 78 76 |ot.c xvm|isc.c xv|
|00006340| 69 6d 61 67 65 2e 63 20 | 78 76 63 6f 6c 6f 72 2e |image.c |xvcolor.|
|00006350| 63 20 78 76 73 6d 6f 6f | 74 68 2e 63 20 5c 0a 09 |c xvsmoo|th.c \..|
|00006360| 78 76 32 34 74 6f 38 2e | 63 20 78 76 67 69 66 2e |xv24to8.|c xvgif.|
|00006370| 63 20 78 76 70 6d 2e 63 | 20 78 76 69 6e 66 6f 2e |c xvpm.c| xvinfo.|
|00006380| 63 20 78 76 63 74 72 6c | 2e 63 20 78 76 73 63 72 |c xvctrl|.c xvscr|
|00006390| 6c 2e 63 20 5c 0a 09 78 | 76 67 69 66 77 72 2e 63 |l.c \..x|vgifwr.c|
|000063a0| 20 78 76 64 69 72 2e 63 | 20 78 76 62 75 74 74 2e | xvdir.c| xvbutt.|
|000063b0| 63 20 78 76 70 62 6d 2e | 63 20 78 76 78 62 6d 2e |c xvpbm.|c xvxbm.|
|000063c0| 63 20 78 76 67 61 6d 2e | 63 20 5c 0a 09 78 76 64 |c xvgam.|c \..xvd|
|000063d0| 69 61 6c 2e 63 20 78 76 | 67 72 61 66 2e 63 20 78 |ial.c xv|graf.c x|
|000063e0| 76 73 75 6e 72 61 73 2e | 63 20 78 76 6a 70 65 67 |vsunras.|c xvjpeg|
|000063f0| 2e 63 20 78 76 70 73 2e | 63 20 78 76 70 6f 70 75 |.c xvps.|c xvpopu|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.